Re: Flowing columned container



At Fri, Apr 30, 2004 at 12:29:45PM +0200, Murray Cumming wrote:
> On Fri, 2004-04-30 at 09:15, James Henstridge wrote:
> > On 29/04/2004 11:50 PM, Murray Cumming wrote:
> > 
> > >I don't think that's the same thing. I think that's talking about
> > >widgets whose width will increase when their height increases.
> > >
> > >I'm talking about a container that might have widgets arranged like
> > >this:
> > >
> > >child1 child4 child7
> > >child2 child5
> > >child3 chidl6
> > >
> > >but when the container is made less high, they will be arranged like
> > >this:
> > >
> > >child1 child3 child5 child7
> > >child2 chidl4 child6
> > >
> > >Also, the minimum height would therefore be constrainted by the total
> > >child widget height and the number of columns in the container.
> 
> Actually, I would not like the widget to gain width as it loses height.
> I would just like it to move some of its child widgets around. And if
> there is not enough room for the child widgets then it should not allow
> the height to be reduced any more.

Just like the Toolbox dialog in GIMP? You might want to look at their
code and see how they do it.

-- 
Chad Daelhousen
My opinions are my own, unless UB purchases my soul.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]