Mercurial > projects > mde
comparison mde/gui/widget/layout.d @ 141:6f69a9c111eb
Fix for using BoolContentWidget in a menu. Made popups' widths match their parents under certain conditions.
Removed dummy testing menu items.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Sun, 08 Feb 2009 15:49:45 +0000 |
parents | c94ec5594449 |
children | 9dabcc44f515 |
comparison
equal
deleted
inserted
replaced
140:c94ec5594449 | 141:6f69a9c111eb |
---|---|
738 logger.error ("New minimal size not applied correctly (code error): minWidth: {}, nmw: {}, col: {}, nd: {}", minWidth, nmw, col, nd); | 738 logger.error ("New minimal size not applied correctly (code error): minWidth: {}, nmw: {}, col: {}, nd: {}", minWidth, nmw, col, nd); |
739 } | 739 } |
740 genPositions; | 740 genPositions; |
741 } | 741 } |
742 | 742 |
743 debug logger.trace ("newMW for col: minWidth: {}, nmw: {}, col: {}, nd: {}, mw: {}, w: {}", minWidth, nmw, col, nd, mw, w); | 743 //debug logger.trace ("newMW for col: minWidth: {}, nmw: {}, col: {}, nd: {}, mw: {}, w: {}", minWidth, nmw, col, nd, mw, w); |
744 foreach (cb; cbs) | 744 foreach (cb; cbs) |
745 cb.newMW (); | 745 cb.newMW (); |
746 return true; | 746 return true; |
747 } | 747 } |
748 | 748 |