in case of layout container set extent otherwise all
authorca
Wed, 23 Jul 1997 10:59:16 +0200
changeset 235 4e6c0d0c6ba5
parent 234 9be9697b0278
child 236 622b9a04eb9b
in case of layout container set extent otherwise all
UILayoutTool.st
--- a/UILayoutTool.st	Wed Jul 23 10:38:16 1997 +0200
+++ b/UILayoutTool.st	Wed Jul 23 10:59:16 1997 +0200
@@ -431,8 +431,15 @@
         self class slices findFirst:[:e|
             e last == type ifTrue:[name := e first. true]
         ].
-        type ~~ #Extent ifTrue:[ list := tabList ]
-                       ifFalse:[ list := Array with:name ].
+        list := tabList.
+
+        type == #Extent ifTrue:[
+            aView superView specClass isLayoutContainer ifTrue:[
+                list := Array with:name
+            ] ifFalse:[
+                list := list copyWith:name
+            ]
+        ]
     ].
     self noteBookList  value:list.
     self noteBookModel value:name.