I cannot test it right now but I think that "clear" works a bit differently
than you wrote so #7 should be sth like that:
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 "
button "click me" do
@g23.clear do
background red
para "red!", :stroke => white
end
para "then you should see red"
end
end
end
K
On Thu, Dec 11, 2008 at 11:54 AM, e deleflie <[EMAIL PROTECTED]> wrote:
> All,
>
> raisins on OSX.
>
> Unless I have some syntax wrong or something ... these things appear
> to be issues:
>
> #1. ask_save_file creates nil object
>
> button "Save File..." do
> answer = ask_save_file # answer will be nil
> end
>
> #2. simple-menu.rb (in the samples folder) doesn't work right...
>
> #3. 2 edit_lines in a flow row dont line up
> Shoes.app do
> flow do
> @one = edit_line :size => 9, :width => 65
> @two = edit_line :size => 9, :width => 65
> end
> end
>
> #4. edit_line and edit_box dont line up (on the left)
> Shoes.app do
> stack do
> @line = edit_line :size => 9, :width => 65
> @block = edit_box :size => 9, :width => 65, :height => 100
> end
> end
>
> #5. when edit_line contains a string that needs to wrap, you can see
> the top of the text of the second line on the bottom of the field.
> Shoes.app do
> stack do
> @line = edit_line :width => 100
> @line.text = "some/long/file/path/that/doesn't/seem/to/wrap/too/well"
> end
> end
>
> #6.... maybe not a bug ... but is there a way to get the text to line
> up when put next to a field?
> Shoes.app do
> flow do
> para "I'm too high, how can I go lower", :size => 9
> @line = edit_line :width => 100, :size => 9
> end
> end
>
> #7... maybe my code is wrong ... but when I click the button I dont see
> red.
> 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 "
> button "click me" do
> @g23.clear()
> stack do
> background red
> para "red!", :stroke => white
> end
> end
> para "then you should see red"
> end
> end
> end
>
> Etienne
>