changed: #addComponent:indent:withExtent:
authorClaus Gittinger <cg@exept.de>
Fri, 29 Jul 2011 12:32:41 +0200
changeset 4294 f635b66d4b27
parent 4293 05baa387d4a1
child 4295 0d8d95fc9f63
changed: #addComponent:indent:withExtent:
DialogBox.st
--- a/DialogBox.st	Sun Jul 24 09:10:04 2011 +0200
+++ b/DialogBox.st	Fri Jul 29 12:32:41 2011 +0200
@@ -6515,11 +6515,13 @@
     aComponent origin:(0.0 @ yPosition); 
                leftInset:lI; 
                rightInset:rI.
-    yPosition := yPosition + aComponent height + ViewSpacing.
+
+    yPosition := aComponent corner y + ViewSpacing.
+    "/ yPosition := yPosition + aComponent height + ViewSpacing.
     needResize := true.
     ^ aComponent
 
-    "Modified: / 07-07-2010 / 16:43:58 / cg"
+    "Modified: / 29-07-2011 / 12:28:47 / cg"
 !
 
 addComponent:aComponent indent:indent withHeight:height 
@@ -9572,11 +9574,11 @@
 !DialogBox class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/DialogBox.st,v 1.313 2011-07-24 07:10:04 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/DialogBox.st,v 1.314 2011-07-29 10:32:41 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libwidg/DialogBox.st,v 1.313 2011-07-24 07:10:04 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/DialogBox.st,v 1.314 2011-07-29 10:32:41 cg Exp $'
 ! !
 
 DialogBox initialize!