checkin from browser
authorClaus Gittinger <cg@exept.de>
Fri, 20 Jun 1997 12:11:41 +0200
changeset 1761 4442423d8d85
parent 1760 ccd221469891
child 1762 061f5a57000a
checkin from browser
SimpleView.st
--- a/SimpleView.st	Fri Jun 20 12:03:45 1997 +0200
+++ b/SimpleView.st	Fri Jun 20 12:11:41 1997 +0200
@@ -4481,48 +4481,52 @@
     |subViews|
 
     (subViews := self subViews) notNil ifTrue:[
-	(how isNil "false" 
-	or:[how == #smaller]) ifTrue:[
-	    subViews do:[:view |
-		view containerChangedSize
-	    ]
-	] ifFalse:[
-	    "doing it reverse speeds up resizing - usually subviews
-	     are created from top-left to bottom-right; therefore
-	     bottom-right views will be moved/resized first, then top-left ones;
-	     this avoids multiple redraws of subviews"
-
-	    subViews reverseDo:[:view |
-		view containerChangedSize
-	    ]
-	]
+        (how isNil "false" 
+        or:[how == #smaller]) ifTrue:[
+            subViews do:[:view |
+                view notNil ifTrue:[
+                    view containerChangedSize
+                ]
+            ]
+        ] ifFalse:[
+            "doing it reverse speeds up resizing - usually subviews
+             are created from top-left to bottom-right; therefore
+             bottom-right views will be moved/resized first, then top-left ones;
+             this avoids multiple redraws of subviews"
+
+            subViews reverseDo:[:view |
+                view notNil ifTrue:[
+                    view containerChangedSize
+                ]
+            ]
+        ]
     ].
 
     components notNil ifTrue:[
-	(how isNil "false" 
-	or:[how == #smaller]) ifTrue:[
-	    components do:[:view |
-		view containerChangedSize
-	    ]
-	] ifFalse:[
-	    "doing it reverse speeds up resizing - usually subviews
-	     are created from top-left to bottom-right; therefore
-	     bottom-right views will be moved/resized first, then top-left ones;
-	     this avoids multiple redraws of subviews"
-
-	    components reverseDo:[:view |
-		view containerChangedSize
-	    ]
-	]
+        (how isNil "false" 
+        or:[how == #smaller]) ifTrue:[
+            components do:[:view |
+                view containerChangedSize
+            ]
+        ] ifFalse:[
+            "doing it reverse speeds up resizing - usually subviews
+             are created from top-left to bottom-right; therefore
+             bottom-right views will be moved/resized first, then top-left ones;
+             this avoids multiple redraws of subviews"
+
+            components reverseDo:[:view |
+                view containerChangedSize
+            ]
+        ]
     ].
 
     self changed:#sizeOfView with:how.
 
     superView notNil ifTrue:[
-	superView subViewChangedSize
+        superView subViewChangedSize
     ]
 
-    "Modified: 28.1.1997 / 17:58:53 / cg"
+    "Modified: 20.6.1997 / 12:10:40 / cg"
 !
 
 subViewChangedSize
@@ -7399,6 +7403,6 @@
 !SimpleView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/SimpleView.st,v 1.219 1997-06-20 10:02:37 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/SimpleView.st,v 1.220 1997-06-20 10:11:41 cg Exp $'
 ! !
 SimpleView initialize!