> OK
> I see what you mean. I have the same. I think there is some problem with the
> repainting of the window or slot - I guess it is a bug.
> Do you need to have a button in the same slot which you clear? if not there
> is no problem. Have a look how it works when you put the button out of the
> slot.

I still get the same bug .... do you mean like the code below?

Shoes.app :width => 200, :height => 200, :resizable => false do
 flow do
   @g23 = stack do
     background white
     para "scroll down to the \nbottom, then click on\n the button"
     para "\r \r \r \r \r \r \r \r \r \r \r \r \r "
     para "then you should see red"
   end
   button "click me" do
     @g23.clear do
       background red
       para "red!", :stroke => white
     end
   end
 end
end

Etienne

Reply via email to