On Mon, Feb 11, 2008 at 09:49:49PM -0500, MenTaLguY wrote:
> I've been thinking more about the scrollbar layout thing, and if a
> user-provided gutter is required, then there needs to be a
> Shoes::SCROLL_GUTTER_SIZE constant or something so that
> platform-specific differences in scrollbar size can be taken into
> account.

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

_why

Reply via email to