Thx. However, this seems to ignore the desired position and puts it around the center of the screen. How would I get it to the upper left? Ken Brown
What is the trick to have the window sized nicely before display?
Don't use openInWorld. This calls the RealEstateAgent to get a size. Instead, do this:
t _ TranscriptStream new. tview_ (t openAsMorphLabel: 'test1'). tview position: 20@20. tview openInWorldExtent: 100@100.
-- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com
On Tuesday 02 April 2002 03:35 pm, Ken Brown wrote:
Thx. However, this seems to ignore the desired position and puts it around the center of the screen. How would I get it to the upper left? Ken Brown
What version of Squeak are you using? On mine (3.2g-4811) it keeps the position I give it before opening it.
Using the latest 3.3a, 4816. Ken
-----Original Message----- From: squeak-dev-admin@lists.squeakfoundation.org [mailto:squeak-dev-admin@lists.squeakfoundation.org]On Behalf Of Ned Konz Sent: April 2, 2002 5:04 PM To: squeak-dev@lists.squeakfoundation.org Subject: Re: How to size before displaying morph view of TranscriptStream?
On Tuesday 02 April 2002 03:35 pm, Ken Brown wrote:
Thx. However, this seems to ignore the desired position and puts
it around the
center of the screen. How would I get it to the upper left? Ken Brown
What version of Squeak are you using? On mine (3.2g-4811) it keeps the position I give it before opening it.
-- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com
On Tuesday 02 April 2002 04:11 pm, Ken G. Brown wrote:
Using the latest 3.3a, 4816.
Hm... the RealEstateAgent is still helping. Try this:
t _ TranscriptStream new. tview_ (t openAsMorphLabel: 'test1'). tview position: 20@20. tview extent: 100@100. tview openAsIsIn: ActiveWorld
That's the ticket, thanks a bunch! Ken
-----Original Message----- From: squeak-dev-admin@lists.squeakfoundation.org [mailto:squeak-dev-admin@lists.squeakfoundation.org]On Behalf Of Ned Konz Sent: April 2, 2002 5:16 PM To: squeak-dev@lists.squeakfoundation.org Subject: Re: How to size before displaying morph view of TranscriptStream?
On Tuesday 02 April 2002 04:11 pm, Ken G. Brown wrote:
Using the latest 3.3a, 4816.
Hm... the RealEstateAgent is still helping. Try this:
t _ TranscriptStream new. tview_ (t openAsMorphLabel: 'test1'). tview position: 20@20. tview extent: 100@100. tview openAsIsIn: ActiveWorld
-- Ned Konz currently: Stanwood, WA email: ned@bike-nomad.com homepage: http://bike-nomad.com
squeak-dev@lists.squeakfoundation.org