#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Tue, 20 Jun 2017 10:47:51 +0200
changeset 6174 a277e382f81d
parent 6173 f088c49c7389
child 6175 74f6a697ee26
#DOCUMENTATION by cg class: YesNoBox comment/format in: #preferredExtent
YesNoBox.st
--- a/YesNoBox.st	Tue Jun 20 10:47:29 2017 +0200
+++ b/YesNoBox.st	Tue Jun 20 10:47:51 2017 +0200
@@ -264,7 +264,7 @@
     okButton width:max.
     abortButton width:max.
 
-    w := (formLabel width + textLabel width) max:max * 2.
+    w := (formLabel width + textLabel width) max:(max * 2).
     w := w + (3 * mm) + ((okButton borderWidth + abortButton borderWidth) * 2).
     w := w max:self maxPreferredWidthOfAddedComponents.
 
@@ -276,7 +276,7 @@
     ^ (w @ h).
 
     "Modified: / 19-07-1996 / 20:45:53 / cg"
-    "Modified (format): / 16-11-2016 / 23:14:45 / cg"
+    "Modified (format): / 20-06-2017 / 10:37:44 / cg"
 ! !
 
 !YesNoBox methodsFor:'startup'!