Mercurial > projects > mde
comparison 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 |
comparison
equal
deleted
inserted
replaced
178:62aa8845edd2 | 179:1f9d00f392bd |
---|---|
104 IPopupParentWidget getParentIPPW (); | 104 IPopupParentWidget getParentIPPW (); |
105 | 105 |
106 /** Child widgets should call this on their parent if their minimal size | 106 /** Child widgets should call this on their parent if their minimal size |
107 * changes, since they cannot properly resize themselves. | 107 * changes, since they cannot properly resize themselves. |
108 * | 108 * |
109 * Parents $(I must) increase their child's size if the child is too small. | 109 * Parents $(I must) increase their child's size if the child is too small, |
110 * and if the child is not resizable, shrink if too big (except for reasons | |
111 * like alignment within a grid). | |
112 * | |
110 * Parents $(I must not) change their own size, even if they are not | 113 * Parents $(I must not) change their own size, even if they are not |
111 * sizable; they may only change their childrens' sizes if it does not | 114 * sizable; they may only change their childrens' sizes if it does not |
112 * affect their own (i.e. WidgetManager and floating / popup widgets). | 115 * affect their own (i.e. WidgetManager and floating / popup widgets). |
113 * | 116 * |
114 * (Hence most parents need to call this function on their parents to change | 117 * (Hence most parents need to call this function on their parents to change |