|
Pages: [1]
|
 |
|
Author
|
Topic: Window scroller (Read 1463 times)
|
|
yz
|
What is the right way to make a window with a vertical scroller? To my pity, I have found only one dead link that relates to this question.
|
|
|
|
|
Logged
|
|
|
|
|
Graham
|
Place the pane you want to scroll inside a box. Add a scroller to the box. then use the scroller to adjust the x or y offset of the pane inside the box. redisplay.
|
|
|
|
|
Logged
|
|
|
|
|
yz
|
Ah, like in the cookbook recipe no. 36. Thank you. But how can I specify sizes of the internal panel (panel with separate LAYOUT)?
|
|
|
|
|
Logged
|
|
|
|
|
Graham
|
Create a new layout for the box contents, and assign the layout to the pane of the box.
|
|
|
|
|
Logged
|
|
|
|
|
yz
|
Create a new layout for the box contents, and assign the layout to the pane of the box.
It's understood, but how can I specify that new subpanel must be, let's say 300x300 to match sizes of box? Without it, the lesser panel opens a part of the box.
|
|
|
|
|
Logged
|
|
|
|
|
Graham
|
lo: layout [ size 300x300 .. ]
|
|
|
|
|
Logged
|
|
|
|
|
yz
|
So simply? Thank you. Rebol GUI really needs good documentation...
|
|
|
|
|
Logged
|
|
|
|
|
|
|
|
Pages: [1]
|
|
|
 |
News: 01-09-08 Alpha version of REBOL 3 has been released!
2243 Posts in 587 Topics by 2012 Members
Latest Member: Rsfezgpe
|