Screen size help wanted!
Gary McGovern
garywork at lineone.net
Sat Sep 1 11:29:59 UTC 2001
Thanks Ned,
I'll give that a go. A full screen bookmorph with scrollbars may do just as
well for my purpose.
Regards,
Gary
----- Original Message -----
From: "Ned Konz" <ned at bike-nomad.com>
To: <squeak-dev at lists.squeakfoundation.org>
Sent: Saturday, September 01, 2001 1:15 AM
Subject: Re: Screen size help wanted!
> On Friday 31 August 2001 03:31 pm, Gary McGovern wrote:
> > Hello,
> > I'm doing a project and I'd like my project area to extend beyond the
> > screen size like Sketchpad was supposed to do. Is there any way I can do
> > this ? I don't see any options.
>
> Well, this code might be a start, though the World doesn't seem to want to
> have parents:
>
> playfield := PasteUpMorph new
> hResizing: #rigid;
> vResizing: #rigid;
> extent: 400 @ 400.
> scrollPane := TwoWayScrollPane new
> extent: 300 at 300;
> hResizing: #spaceFill;
> vResizing: #spaceFill;
> borderWidth: 1.
> scrollPane scroller addMorph: playfield.
> scrollPane setScrollDeltas; resizeScrollBar; openInWorld.
>
> --
> Ned Konz
> currently: Stanwood, WA
> email: ned at bike-nomad.com
> homepage: http://bike-nomad.com
>
>
>
More information about the Squeak-dev
mailing list
|