#BUGFIX
authorClaus Gittinger <cg@exept.de>
Fri, 04 Dec 2015 17:26:23 +0100
changeset 5516 6ac4f56c49f3
parent 5514 a208d39257ac
child 5517 218d94539f9b
child 5518 fc393425a691
#BUGFIX class: PanelView added: #mapped resize bug?
PanelView.st
--- 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$'
 ! !