On Tue, 12 Feb 2008 00:05:59 -0600, why the lucky stiff <[EMAIL PROTECTED]> 
wrote:
> I think in the Shoes manual, I'm just going to say that a 20 pixel
> gutter should generally be given.  I'm okay with a constant, but I
> don't want it to have such a long name, the point is to simplify and
> not to complicate.
> 
> For the built-in manual, I use a 40px right gutter.  But perhaps a
> good midway would be to have a `gutter` method that clears just
> enough space.

>   stack :margin_right => 20 + gutter
>   end

You know, having gutter or scrollbar_width or something available is
going to be helpful sometimes, but the more I think about it, why not
include the scrollbar width in the right margin for any stack/flow
that has scrollability enabled?

If people are doing explicitly placed drawing objects, those won't be
affected by the margin either way.  On the other hand, if people are
doing stacked/flowed objects, platform font differences etc. may mean
that they can't be assured that the scrollbar won't appear, so for
those we might be best off always including the gutter for them so
they don't have to worry about adding it in manually.

-mental

Reply via email to