Open fela opened 14 years ago
Umm... what platform are you using?
I run the following snippet on Windows 7 with Policeman 0.r1503.
The size of background seems correct (= 300pix)...
Shoes.app do
stack :height => 300, :margin_right=> gutter, :scroll => true do
background yellow
para "abcd"
para "abcd"
para "abcd"
para "abcd"
para "abcd"
para "abcd"
para "abcd"
para "abcd"
para "abcd"
para "abcd"
para "abcd"
para "abcd"
para "abcd"
para "abcd"
para "abcd"
para "abcd"
para "abcd"
para "abcd"
para "abcd"
para "abcd"
para "abcd"
para "abcd"
para "abcd"
end
line 0, 300, 300, 300
end
What I mean is: I would have expected the background to cover the whole slot, whose content is bigger than 300 pixels. The same way it increases in size when the slot with no scrollbar gets bigger because of para
s getting added
Oh, now I confirmed. This is a bug. But for Linux, not Windows. I can't confirm with Mac, though...
It acts strange on the Mac, too.
the size of the background is when used on slots with a scrollbar, see the following example (run it and scroll down)