diff mde/gui/widget/Ifaces.d @ 179:1f9d00f392bd default tip

Fixed a bug where (non-resizible) widgets wouldn't get shrunk when minimal size decreases, meaning optional context menus are hiden properly now. Optimised when ServiceContentList.opCall is called, I think without breaking anything.
author Diggory Hardy <diggory.hardy@gmail.com>
date Tue, 15 Sep 2009 20:09:59 +0200
parents af40e9679436
children
line wrap: on
line diff
--- a/mde/gui/widget/Ifaces.d	Tue Sep 15 10:36:37 2009 +0200
+++ b/mde/gui/widget/Ifaces.d	Tue Sep 15 20:09:59 2009 +0200
@@ -106,7 +106,10 @@
     /** Child widgets should call this on their parent if their minimal size
      * changes, since they cannot properly resize themselves.
      * 
-     * Parents $(I must) increase their child's size if the child is too small.
+     * Parents $(I must) increase their child's size if the child is too small,
+     * and if the child is not resizable, shrink if too big (except for reasons
+     * like alignment within a grid).
+     * 
      * Parents $(I must not) change their own size, even if they are not
      * sizable; they may only change their childrens' sizes if it does not
      * affect their own (i.e. WidgetManager and floating / popup widgets).