[REBOL] Re: Subpanels behaviour...
From: rotenca:telvia:it at: 1-Apr-2002 1:36
Hi Ronald
> Your tip didn't work, but gave me the solution :
>
> panel1: layout [
> backdrop polished orange effect [tile gradmul -1x1 60.60.60 150.150.150]
> box 350x150 infos
> ]
In your code the backdrop is outside the box and covers all the panel1, the
text (infos) is inside the box. But if you want that your backdrop covers only
the box you must use the panel style:
view panel1: layout/size [
panel 350x150 [
origin 0x0
backdrop orange
box 350x150 "only inside"
]
] 700x300
in this example the text is indside the box 350x150 which is inside the panel
350x150 which is inside the window 700x300.
> Thank's, there's always more in two minds than in one !
1 + 1 > 2 :-)
---
Ciao
Romano