InfoBox.st
changeset 4381 a6bfdd141c53
parent 4295 0d8d95fc9f63
child 4385 bd433a8f6b4c
--- a/InfoBox.st	Tue Feb 28 11:30:55 2012 +0100
+++ b/InfoBox.st	Tue Feb 28 12:17:46 2012 +0100
@@ -328,17 +328,9 @@
 !InfoBox methodsFor:'initialization'!
 
 addCheckBox:label on:aValueHolder
-    |prefHeightBefore box|
-
-    box := super addCheckBox:label on:aValueHolder.
+    ^ self addCheckBoxAtBottom:label on:aValueHolder
 
-    box layout:((0.0 @ 1.0 corner:1.0 @ 1.0) asLayout 
-                topOffset:(buttonPanel preferredHeight 
-                          + box preferredHeight
-                          + ViewSpacing ) negated;
-                bottomOffset:(buttonPanel preferredHeight 
-                          + ViewSpacing ) negated).
-    ^ box.
+    "Modified: / 28-02-2012 / 10:27:53 / cg"
 !
 
 initFormBitmap
@@ -460,9 +452,9 @@
 !InfoBox class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/InfoBox.st,v 1.49 2011-07-29 10:33:20 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/InfoBox.st,v 1.50 2012-02-28 11:17:46 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libwidg/InfoBox.st,v 1.49 2011-07-29 10:33:20 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/InfoBox.st,v 1.50 2012-02-28 11:17:46 cg Exp $'
 ! !