How can I open a SystemWindow with a certain extent?

Gary Chambers gazzaguru2 at btinternet.com
Mon Nov 19 16:12:13 UTC 2007


Try something like

SystemWindow new
	minimumExtent: 20 at 30;
	extent: 20 at 30;
	openAsIs

> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org]On Behalf Of Rob
> Withers
> Sent: 19 November 2007 3:58 PM
> To: Squeak Dev
> Subject: How can I open a SystemWindow with a certain extent?
> 
> 
> I have a subclass of SystemWindow which I am trying to open with 
> a specific 
> extent.  I have a buildWindow method that adds all my widgetry 
> and I have a 
> line of code like:
> 
>     self extent: 20 @ 50.
> 
> When it opens, this extent isn't respected.   How can I do this?
> 
> thanks,
> Rob 
> 
> 



More information about the Squeak-dev mailing list