No go either.  I did something similar to work though. :)

Shoes.app :width => 300, :height => 350 do
 stack :width => 300, :height => 350 do
   background white
   stroke red
   fill red
   rect 10, 10, self.width - 20, self.height - 20, 12
   para "This one doesn't NEED the smooth corner cuts!",
   :width => 100,
   :left => 100,
   :top => 100,
   :align => 'center'
 end
end

It seems like you just can't use :radius or :curve with solid color backgrounds. I am sure there is a reason for this that I just don't understand. Thanks again for all of the help!


-J


On Feb 10, 2009, at 1:02 PM, Alexander Rakoczy wrote:

On Tue, Feb 10, 2009 at 14:42, John Gearhart <[email protected]> wrote:
Shoes.app :width => 300, :height => 350 do
stack :width => 300, :height => 350 do
backgroud gray(0.5),
:radius => 12
para "This one's doesn't have the smooth ",
  "corner cuts.",
:stroke => white
end
end

Woah, I was wrong.  Really wrong.  I don't know what I was thinking.
Don't look at my last one, it's all wrong.

Your first example was COMPLETELY CORRECT.  Well, almost.  Backgrounds
take a :curve option, not a :radius.

My mistake.

Sorry.

Alex

--
alexander rakoczy


Reply via email to