How to size before displaying morph view of TranscriptStream?
Ken Brown
ken.brown at zedisolutions.com
Tue Apr 2 23:35:24 UTC 2002
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 at 20.
> tview openInWorldExtent: 100 at 100.
>
> --
> Ned Konz
> currently: Stanwood, WA
> email: ned at bike-nomad.com
> homepage: http://bike-nomad.com
>
>
More information about the Squeak-dev
mailing list
|