From c1109f3972ed081497776ed9f557c7d02daf9273 Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Sat, 19 Sep 2015 12:05:31 +0200 Subject: SRDOP: Documentation. --- devdoc/dw-size-request-pos.doc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'devdoc/dw-size-request-pos.doc') diff --git a/devdoc/dw-size-request-pos.doc b/devdoc/dw-size-request-pos.doc index 213fe3b4..1da74458 100644 --- a/devdoc/dw-size-request-pos.doc +++ b/devdoc/dw-size-request-pos.doc @@ -4,7 +4,7 @@ padding: 0.5em 1em; background-color: #ffffe0">The complex "widget sizes" is currently divided into three documents: \ref dw-widget-sizes, \ref dw-grows, and **Size requisitions depending on - positions** (this document). + positions** (this document).
Info: @@ -33,6 +33,12 @@ widget. If a widget wants to get the size of a child widget, it should 2. call dw::core::Widget::sizeRequest with the positions relative to these widgets. +
It is not sufficient + to work with *absolute* positions, since there may be an + interruption passing the positions so that absolute positions are + often not known.
+ All positions passed to dw::core::Widget::sizeRequest must constitute the position at which this child will be allocated. @@ -106,7 +112,7 @@ Plan 1. General design (dw::core::Widget::sizeRequestReference, changes to dw::core::Widget::sizeRequest). **COMPLETED.** -2. Implementation for dw::Textblock. **COMPLETED** (except for some bugs). +2. Implementation for dw::Textblock. **COMPLETED**. 3. Change interface of dw::oof::OutOfFlowMgr (this affects mostly only comments). **COMPLETED.** -- cgit v1.2.3