Scollbar in SystemWindow
Hernan Tylim
htylim at yahoo.com.ar
Wed Mar 17 17:37:09 UTC 2004
Hi Trygve,
Try putting your PasteUpMorph instance inside a TwoWayScrollPane. Like in
here:
| scrollablePanel pum |
scrollablePanel _ TwoWayScrollPane new.
pum _ PasteUpMorph new
extent: 800 at 800;
color: Color white.
scrollablePanel scroller
addMorphBack: pum;
color: Color red.
scrollablePanel openInWindow
setWindowColor: Color lightGray;
extent: 300 at 300
This is what you were asking?
Regards,
Hernan
> -----Mensaje original-----
> De: squeak-dev-bounces at lists.squeakfoundation.org
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org]En nombre de
> Trygve Reenskaug
> Enviado el: Miercoles, 17 de Marzo de 2004 10:53
> Para: squeak-dev at lists.squeakfoundation.org
> Asunto: Scollbar in SystemWindow
>
>
> I have a SystemWindow with one pane that is subclass of PasteUpMorph. It
> shall have the simplest possible layout giving me full control of
> position
> and size of submorphs.
>
> What is the best way for making it scollable, preferably in both
> directions
> if it can be done reliably.
>
> Thanks
> --Trygve
>
> --
>
> Trygve Reenskaug mailto: trygver at ifi.uio.no
> Morgedalsvn. 5A http://heim.ifi.uio.no/~trygver
> N-0378 Oslo Tel: (+47) 22 49 57 27
> Norway
>
>
More information about the Squeak-dev
mailing list
|