On Tue, Feb 12, 2008 at 10:00:27AM -0800, MenTaLguY wrote:
> 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?

Okay, yeah, this might be closer to what we're looking for.  We're
going to have to work through two things first.

One problem is backgrounds.  Backgrounds are normal elements.
The width of a background should go under the scrollbar.  But the
width of a flow should not.  You know, if you have a tiling
background, you want it to tile through the gutter.

It occurs to me though that normal canvases default to REL_CANVAS
positioning and backgrounds default to REL_TILE positioning (this is
in shoes/ruby.c.)  So I could make the rule that elements with
REL_TILE positioning don't get an automatic gutter.

Yeah, I think this could work!

_why

Reply via email to