VisualPart.st
changeset 2668 3f03a6f0157c
parent 2666 01b3cb9faa58
child 2670 82dbebce194f
--- a/VisualPart.st	Fri May 08 17:35:26 2009 +0200
+++ b/VisualPart.st	Sun May 10 13:01:57 2009 +0200
@@ -167,8 +167,8 @@
 "/Transcript show:'container '; show:container; show:' of '; show:self; 
 "/           show:' changed size to '; showCR:container viewRectangle.
 
-    self layout notNil ifTrue:[
-        self bounds:(self layout 
+    layout notNil ifTrue:[
+        self bounds:(layout 
                         rectangleRelativeTo:container bounds
                         preferred:self preferredBounds).
     ].
@@ -335,6 +335,10 @@
     "Created: 4.6.1996 / 21:35:57 / cg"
 !
 
+subViews
+    ^ #()
+!
+
 topInset
     ^ 0
 !
@@ -356,5 +360,5 @@
 !VisualPart class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/VisualPart.st,v 1.15 2009-05-08 15:35:18 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/VisualPart.st,v 1.16 2009-05-10 11:01:57 cg Exp $'
 ! !