Hi,
I am using the r.1057 build on OSX and this code does not work as it should:
Shoes.app do
@t1=stack do
@i1=stack :top=>10, :left=>10, :width=>200, :height=>200 do
background red
@r1=button "kkk"
@r1.move(40,100)
end
end
button "hide" do
@t1.hide
end
end
When I click button 'hide', only button 'kkk' disappears while the stack
which was supposed to go away stays.
The following application explains what is happening, I think:
Shoes.app do
@t1=stack do
@i1=flow :width=>200, :height=>200 do
background red
para "\n\nOj Oj"
@r1=button "kkk"
@r1.move(40,100)
end
end
button "toggle" do
@t1.toggle
end
end
It seems that Shoes hide logical stack but does not erase what was painted.
Is this a bug or I miss something?
Thanks
Krzys