[Y-devel] Widget size negotiation

Lincoln Quirk lincoln at cognitoy.com
Thu Feb 26 02:42:25 GMT 2004



On Wed, 2004-02-25 at 19:21, Stroller wrote:
> On Feb 25, 2004, at 1:29 am, Lincoln Quirk wrote:
> 
> > Within each level of widget containment there should probably be an
> > automatic sizing method with propagation....
> >
> > First, each widget should have no maximum size: it should be able to
> > look reasonably correct with any amount of extra space that it's given.

Yeah, I didn't remember that part about maximum size from the thesis :-)
but it doesn't change the behavior that much, so whatever.

> > Each widget may have a minimum size: if the widget is given less than
> > its minimum, it makes no guarantees in terms of displaying properly.
> 
> I think this had to be defined separately in both X & Y dimensions - I 
> think scrollbars should never be resized in X, but nearly always in Y. 
> Or am I missing something..? Is a scrollbar not a widget..?

Yeah, I was referring to each axis separately. You can treat it that way
no matter how many axes you have.

> Stroller.

Lincoln
-- 




More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved