Hi everyone,

I have been experimenting a bit with Shoes but I can't get the rounded box
example of page 42 in the manual working.

Adding a radius doesn't seem to do anything. The background is still
rectangular. Here's my code:

Shoes.app do
  background black
  stack :width => 400, :height => 350 do
    background "../images/stripes.jpg", :radius => 12
    para "This one's got the smooth corner cuts.", :stroke => white
  end
end

Oh, something else I noticed: many manuals still use "text" instead of
"para". This doesn't give an error but completely blanks out the window.
Would be better to either remove it, or show a warning.

Thanks!

So far Shoes has been great, I'm tinkering with it to see if we can use it
for an introductory course on Human-Computer Interaction (first year
undergraduate level). These students have actually just learned to program.
I think shoes might help the students to unleash their creativity and create
custom widgets, animations, etc. to better adapt the UI to their target
audience. Traditional toolkits are great for form-based (and boring) UIs,
but it's quite difficult to create custom widgets or change the behavior of
an existing one.

Cheers,

-- Jo

Reply via email to