On Tue, Jul 08, 2008 at 12:50:53PM +1000, Bluebie, Jenna wrote:
> Also, when calculating the -100 type width's, and fraction's, could you 
> make it take in to account the gutter? currently my button is getting drawn 
> under the scroll bar. Seems like we need a Practical Width concept that 
> would give a width without the gutter and stuff, just the real usable 
> space, and use that in calculations like this.

Shoes deliberately paints under the scrollbar.  I didn't want it to
be like HTML where "width: 100%" jumps every time the scrollbar appears.
There is a method called `gutter` that gives you the width of the
space needed for the scrollbar.

  Shoes.app do
    stack :margin_right => gutter do
      # ...
    end
  end

_why

Reply via email to