Re: Resizing



2009/10/7 John Coppens <john jcoppens com>:
- I have a (top-level) window, with a vbox, then a vpanel, a frame, an
'alignment' and a table (listed in the order of nesting).

When I change something in the table, which makes it wider, the table
gets wider, wider than the frame, which doesn't resize, and neither does
the rest upwards in the hierarchy.

I understand that normally the size allocation starts from the window
down. How do I resize from de table up?

You need to put stuff inside something which can get larger. I'd put a
scrolledwindow inside the vpane, then the frame and the table inside
that.  This will mean if the table gets bigger than the vpane, it'll
get scrollbars.

John



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