PanelView.st
changeset 5516 6ac4f56c49f3
parent 4945 b3a7feb93dd8
child 5536 b5b14ac35684
--- a/PanelView.st	Mon Nov 30 17:16:12 2015 +0100
+++ b/PanelView.st	Fri Dec 04 17:26:23 2015 +0100
@@ -11,6 +11,8 @@
 "
 "{ Package: 'stx:libwidg' }"
 
+"{ NameSpace: Smalltalk }"
+
 SimpleView subclass:#PanelView
 	instanceVariableNames:'hLayout vLayout verticalSpace horizontalSpace mustRearrange
 		elementsChangeSize ignoreInvisibleComponents backgroundChannel'
@@ -452,6 +454,13 @@
     ignoreInvisibleComponents := true.
 !
 
+mapped
+    mustRearrange ifTrue:[
+        self setChildPositions
+    ].
+    super mapped
+!
+
 realize
     mustRearrange ifTrue:[
 	self setChildPositions
@@ -668,6 +677,6 @@
 !PanelView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/PanelView.st,v 1.47 2014-03-16 21:25:09 cg Exp $'
+    ^ '$Header$'
 ! !