[REBOL] puzzled by draw grid size
From: maksa::sezampro::yu at: 22-Sep-2001 12:59
I have a simple table drawing thing.
(Example is simplified but still displays the problem)
Title: "A simple table with a colored header"
tablesize: 4x6 ; columns x rows
box linen cellsize * tablesize effect [
box 0x0 to-pair reduce [ first cellsize * tablesize second cellsize ]
grid cellsize; Expecting this to draw the grid around cells
view layout table
But the grid is drawn in some funny resolution I haven't specified (say
something around 7x7). I tried moving the grid command around, but to
no avail. Putting a literal 100x20 works, but I don't want to live with
that as it would break the idea of being able to reuse it for different
table and cell sizes.
What am I doing wrong?