Hi Jordan

I've tried your code and it works without a problem,

same versions as yourself, win32(xp sp3) r1091 shoes

So i'm not sure what your problem is.. which windows have you got?


Jordan Applewhite wrote:
I just spent an hour struggling with this so I thought I would post here for posterity (and for other newbies like myself). It appears that using :height instead of :scroll_height to style stacks will lead to weird crashes. Or maybe I'm doing something terribly stupid, I don't know. For example, this will crash when the button is pressed:

Shoes.app :width => 300, :height => 400 do
  stack :width => 0.5, :height => 1.0 do
    button("press me"){alert("You won't see this.")}
  end
end


but this will not crash when the button is pressed:

Shoes.app :width => 300, :height => 400 do
  stack :width => 0.5, :scroll_height => 1.0 do
    button("press me"){alert("Pressed!")}
  end
end

For the record, I was running raisins 0.r1091, mswin32.  Bye for now!

------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.9.12/1821 - Release Date: 30/11/2008 17:53

Reply via email to