#OTHER
authorClaus Gittinger <cg@exept.de>
Tue, 29 Sep 2015 19:40:42 +0200
changeset 5425 9978c04b82bb
parent 5424 21b7fbdf7e5a
child 5426 d5ee0a25e19c
#OTHER class: VerticalPanelView changed: #setChildPositions fix for borderwidth computation when topFit or bottomFit
VerticalPanelView.st
--- a/VerticalPanelView.st	Tue Sep 29 19:39:49 2015 +0200
+++ b/VerticalPanelView.st	Tue Sep 29 19:40:42 2015 +0200
@@ -11,6 +11,8 @@
 "
 "{ Package: 'stx:libwidg' }"
 
+"{ NameSpace: Smalltalk }"
+
 PanelView subclass:#VerticalPanelView
 	instanceVariableNames:'rowHeight'
 	classVariableNames:''
@@ -839,7 +841,7 @@
                 ].
             ].
 
-            restHeight := height - sumOfHeights "- (numChilds-1*space)".
+            restHeight := hInside - sumOfHeights "- (numChilds-1*space)".
             ((l == #center) and:[numChilds == 1]) ifTrue:[l := #spread].
             (l == #spread and:[numChilds == 1]) ifTrue:[l := #spreadSpace].
 
@@ -1146,10 +1148,10 @@
 !VerticalPanelView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/VerticalPanelView.st,v 1.52 2014-12-18 23:13:29 cg Exp $'
+    ^ '$Header$'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libwidg/VerticalPanelView.st,v 1.52 2014-12-18 23:13:29 cg Exp $'
+    ^ '$Header$'
 ! !