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

[REBOL] Re: Layout in more than one pane

From: cyphre:seznam:cz at: 5-Nov-2001 10:01

Hi Romano, ......snip......
> I think this is not a bug of Vid, but of this piece of code which put a
word
> in the block of pane, not a face, the correct version should be: > > a: make face [size: 50x50 color: red] > b: make face [color: blue pane: reduce [a]] > view layout [bx: box with [pane: reduce [b]] button "hide box" [hide bx]] > > > second bug: > > > > a: make face [size: 50x50 color: red] > > view layout [box with [color: blue pane: [a]] button "hide box" [hide > > a/parent-face]] > > The same i think for the last.
Yes, but as you can see(and Sterling said it too) "pane can be a single face, but it can also be a block.". There is no problem with reducing of the pane, because faces are shown properly even when the pane contains block of words. I think problem is in 'hide command which don't work properly in that case. Maybe you will ask why I need to be pane a block of words? Because it is a lot better accesible, readable, easier,(and IMO faster) to manipulate with block of words than block of objects. I'm just wondering that almost noone is using this method ;) regards Cyphre