diff mde/gui/widget/Widget.d @ 123:d3b2cefd46c9

minSizeChange() allows run-time changes to widgets' minimal size (except for shrinking in a GridLayoutWidget). FloatingAreaWidget: correct resize limiters AStringContent: allows space and ignores modifier keys
author Diggory Hardy <diggory.hardy@gmail.com>
date Sun, 04 Jan 2009 17:35:15 +0000
parents 5b37d0400732
children c9843fbaac88
line wrap: on
line diff
--- a/mde/gui/widget/Widget.d	Fri Jan 02 18:10:14 2009 +0000
+++ b/mde/gui/widget/Widget.d	Sun Jan 04 17:35:15 2009 +0000
@@ -56,6 +56,9 @@
             throw new GuiException ("Infite recursion of "~a);
         parent.recursionCheck (a);
     }
+    
+    // Parent widgets need to implement this.
+    override void minSizeChange (IChildWidget widget, wdim mw, wdim mh) {}
 //END IParentWidget methods
     
 //BEGIN Load and save