[REBOL] Re: Problem of wraping in layout
From: info:id-net:ch at: 14-Jan-2002 10:03
Here's the example
The "hello world" is wrapped because of the 20x20 margin. All the space 0x0
and offset to 0x0 can't resolve the problem.
rebol []
win: [space 0x0
at 0x50 text "hello" across
screen-left: box 212.212.212 300x400
screen-right: box 212.212.212 300x400
at 760x200 text as-is "Hello world!"
]
lt-left: [
backdrop: 212.212.212
space 0x0
box 212.212.212 300x400]
lt-right: [
backdrop: 212.212.212
space 0x0
box 212.212.212 300x400
at 230x20 text font-size 20 "Philippe"]
lt-left-lt: layout/offset lt-left 0x0
lt-right-lt: layout/offset lt-right 0x0
win: layout/offset/size win 0x0 800x600
screen-left/pane: lt-left-lt
screen-right/pane: lt-right-lt
view win