[REBOL] Re: is this a bug?
From: arolls:bigpond:au at: 11-Apr-2001 20:52
As Brett says, specifying tabs 40 means there are tab
positions at 40, 80, 120 etc.
Run the following program.
If you look at the offset and size of the first field,
you will notice that its bottom edge is at 44.
Then we add on the default spacing between elements (8)
and we get to 52.
It has missed the tab at position 40 by 12 pixels.
Therefore the next tab will be at 80.
view layout [
f1: field ; 200x19
print [f1/offset f1/size]
print [f2/offset f2/size]
print [f3/offset f3/size]
If you reduce the vertical size of f1
to 11, [f1: field 200x11], then it tabs
Greater than 11 jumps over the tab.
If you specify spacing of zero, and the vertical
size of f1 to 19 (uncomment the comments above),
then you will see that the first field just fits
in before the second tab position, 40, which is
greater than 20+19.
I am looking to see if there is a way to set
an offset to the tab positions.