SystemWindow resizing

Ned Konz ned at bike-nomad.com
Wed Jul 10 14:36:09 UTC 2002


On Tuesday 09 July 2002 06:15 am, Jerome Chan wrote:
> I want to prevent a SystemWindow from being resized. Is there a way
> to do this? I've tried sending the SystemWindow
> allowReFramesHandles: false but I can still resize the window.

What kind of resizing are you trying to prevent?
* dragging borders/corners
* Halo resizing
* collapse/expand

You can set a minimumExtent that should be respected by much of the 
code.

Or you could subclass and override extent:

MyWindow>>extent: aPoint
  ^ super extent: myFavoriteSize
-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE




More information about the Squeak-dev mailing list