[REBOL] Re: Subpanels behaviour...
From: ronald::free::fr at: 1-Apr-2002 23:24
Thanks again, makes things more clear now ;-)
Monday, April 01, 2002, 1:36:44 AM, vous avez écrit:
RPT> 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
RPT> In your code the backdrop is outside the box and covers all the panel1, the
RPT> text (infos) is inside the box. But if you want that your backdrop covers only
RPT> the box you must use the panel style:
RPT> view panel1: layout/size [
RPT> panel 350x150 [
RPT> origin 0x0
RPT> backdrop orange
RPT> box 350x150 "only inside"
RPT> ] 700x300
RPT> in this example the text is indside the box 350x150 which is inside the panel
RPT> 350x150 which is inside the window 700x300.
>> Thank's, there's always more in two minds than in one !
1 + 1 >> 2 :-)