Mercurial > projects > mde
diff mde/gui/widget/Ifaces.d @ 139:29a524e7c858
Fixed a resizing issue and added a popup menu for all content.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Sun, 08 Feb 2009 11:55:36 +0000 |
parents | 9f035cd139c6 |
children | c94ec5594449 |
line wrap: on
line diff
--- a/mde/gui/widget/Ifaces.d Sat Feb 07 13:28:52 2009 +0000 +++ b/mde/gui/widget/Ifaces.d Sun Feb 08 11:55:36 2009 +0000 @@ -52,11 +52,13 @@ /** IPPWs return self, other widgets recurse call on parent. */ IPopupParentWidget getParentIPPW (); - /** Child widgets should call this on their parent if their minimal size changes, since they - * cannot resize themselves. + /** Child widgets should call this on their parent if their minimal size + * changes, since they cannot properly resize themselves. * - * Children may depend on their parent resizing them if necessary to keep width valid. - * Widgets may also depend on setPosition being called afterwards. + * Children may depend on their parent resizing them if necessary to keep + * width valid. To ease adjustments with layouts, widgets $(I may) enlarge + * themselves, but shouldn't shrink themselves. Widgets may also depend on + * setPosition being called afterwards. * * Params: * widget = The child widget calling the function