--- a/StandardSystemView.st Fri Nov 04 16:28:59 2016 +0100
+++ b/StandardSystemView.st Fri Nov 04 16:29:44 2016 +0100
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
"
COPYRIGHT (c) 1989 by Claus Gittinger
All Rights Reserved
@@ -615,49 +613,49 @@
sizeFixed:aBoolean
"this prevents the view from resizing itself when realized.
- For normal topViews, this is void, since they dont do this anyway.
+ For normal topViews, this is void, since they don't do this anyway.
However, modalBoxes (especially: DialogBoxes) typically resize themselfes
to the preferredExtent of their components. In some cases, this behavior is
not desired and it should be turned off by setting sizeFixed to true.
To avoid confusion:
- This does NOT prevent the window manager from resizing the view,
- instead it tells the view to NOT resize ITSELF."
+ This does NOT prevent the window manager from resizing the view,
+ instead it tells the view to NOT resize ITSELF."
sizeFixed := aBoolean.
"example: dialog which resizes itself on #open:
- (thereby ignoring the 200@200 extent)
+ (thereby ignoring the 200@200 extent)
- |dialog|
+ |dialog|
- dialog := Dialog new.
- dialog addInputFieldOn:'' asValue.
- dialog addOkButton.
- dialog extent:200@200.
- dialog open.
+ dialog := Dialog new.
+ dialog addInputFieldOn:'' asValue.
+ dialog addOkButton.
+ dialog extent:200@200.
+ dialog open.
using sizeFixed:
- |dialog|
+ |dialog|
- dialog := Dialog new.
- dialog addInputFieldOn:'' asValue.
- dialog addOkButton.
- dialog extent:200@200; sizeFixed:true.
- dialog open.
+ dialog := Dialog new.
+ dialog addInputFieldOn:'' asValue.
+ dialog addOkButton.
+ dialog extent:200@200; sizeFixed:true.
+ dialog open.
using openWithExtent (also sets sizeFixed):
- |dialog|
+ |dialog|
- dialog := Dialog new.
- dialog addInputFieldOn:'' asValue.
- dialog addOkButton.
- dialog openWithExtent:200@200.
+ dialog := Dialog new.
+ dialog addInputFieldOn:'' asValue.
+ dialog addOkButton.
+ dialog openWithExtent:200@200.
"
! !