--- 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!