Screen size help wanted!

Ned Konz ned at bike-nomad.com
Sat Sep 1 00:15:10 UTC 2001


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