Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Subpanels behaviour...

 [1/5] from: ronald:free at: 29-Mar-2002 23:54


Hi Rebolers, I was testing rebol's "subpanels howto" and can't understand what happens in my case : trying this code "standalone" works fine : 8<------------------------- infos: {Voici une interface qui pourrait être commune à tous les utilisateurs... Votre avis m'intéresse : laissez moi un message en utilisant le bouton : "Avis" ci-dessous.} panel1: layout[ box 350x150 backdrop polished orange effect [tile gradmul -1x1 60.60.60 150.150.150] infos ] view panel1 8<------------------------- But using it as a subpanel, the 'infos text is cut at the edges : beginning "V"'s half cut and same pb with "à" and "e" ending '...message I tried without any backdrop effect ... box 350x150 infos ... and everything works well, but why the difference (would like to use my backdrop ;-)) Could anybody help me ? Cheers Ronald

 [2/5] from: rotenca:telvia:it at: 31-Mar-2002 9:31


Hi Ronald
> panel1: layout[ > box 350x150 backdrop polished orange effect [tile gradmul -1x1 60.60.60
150.150.150] infos
> ] > > view panel1 >
Your layout is: box 350x150 backdrop polished orange effect [tile gradmul -1x1 60.60.60 150.150.150] infos Backdrop is out of box. To make the backdrop inside the box you must: panel 350x150 [backdrop polished orange effect [tile gradmul -1x1 60.60.60 150.150.150] infos] --- Ciao Romano

 [3/5] from: ronald:free at: 31-Mar-2002 20:17


Bonjour Romano, Sunday, March 31, 2002, 9:31:48 AM, vous avez écrit: RPT> Hi Ronald
>> panel1: layout[ >> box 350x150 backdrop polished orange effect [tile gradmul -1x1 60.60.60
RPT> 150.150.150] infos
>> ] >> >> view panel1 >>
RPT> Your layout is: RPT> box 350x150 RPT> backdrop polished orange effect [tile gradmul -1x1 60.60.60 150.150.150] RPT> infos RPT> Backdrop is out of box. RPT> To make the backdrop inside the box you must: RPT> panel 350x150 [backdrop polished orange effect [tile gradmul -1x1 RPT> 60.60.60 150.150.150] infos] RPT> --- RPT> Ciao RPT> Romano 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 ] Thank's, there's always more in two minds than in one ! -- Cheers, Ronald

 [4/5] 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

 [5/5] from: ronald::free::fr at: 1-Apr-2002 23:24


Bonjour Romano, 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> ] 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 :-) RPT> --- RPT> Ciao RPT> Romano -- Cheers, Ronald