YesNoBox.st
changeset 2802 19b141dd52b9
parent 2800 25f261040a9a
child 3121 8e4d21e008c9
--- a/YesNoBox.st	Wed Sep 10 17:02:11 2003 +0200
+++ b/YesNoBox.st	Wed Sep 10 17:13:27 2003 +0200
@@ -257,6 +257,7 @@
 
     w := (formLabel width + textLabel width) max:max * 2.
     w := w + (3 * mm) + (okButton borderWidth + abortButton borderWidth * 2).
+    w := w max:self maxPreferredWidthOfAddedComponents.
 
     h := (mm * 5)
          + ((formLabel height) max:(textLabel height))
@@ -319,5 +320,5 @@
 !YesNoBox class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/YesNoBox.st,v 1.53 2003-09-10 15:01:48 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/YesNoBox.st,v 1.54 2003-09-10 15:13:18 cg Exp $'
 ! !