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

[REBOL] "tabs" in VID

From: chalz::earthlink::net at: 9-Apr-2006 6:28

Howdy. I've been toying with REBOL for a while, but just now getting into the graphical components. I'm having trouble making TABS work properly. For instance: view layout [across tabs 20 txt "first tab" return tab txt "second tab" return tab tab txt "third tab" return txt "fourth tab" ] This works as expected - "first tab" is on the left, "second tab" is on the next line and indented some, "third tab" is on the next line and indented some more, "fourth tab" is on the next line and on the left again. However: view layout [across tabs [20 75 100] txt "first tab" return tab txt "second tab" return tab tab txt "third tab" return txt "fourth tab" ] When I run that, everything is aligned on the left. When I do this: view layout [across tabs [100 275 500] txt "first tab" return tab txt "second tab" return tab tab txt "third tab" return txt "fourth tab" ] first tab and "fourth tab" are on the left, and "second tab" and "third tab" are indented *some*, but they're both indented equally - "third tab" is indented no more than "second tab". How can I get behavior like using "tabs 20" but with tabs at 20, 50 and 75 instead? Ah, and I'm running REBOL/View 1.3.2.3.1 5-Dec-2005 Core 2.6.3 Thanks. --Charles