Re: Fix the window and its widgets



I used Gtk::Widget::set_size_request(height, width) to accomplish this.
Maybe you have to override one of those size_request methodes in
Gtk::Widget too.

Am Freitag, den 22.12.2006, 23:07 +0200 schrieb Pavlo Korzhyk:
> > (Gtk::Window *)window->set_resizable(false);
> >
> > The above method is not letting the window expand when a larger child
> > widget is present but it is shrinking the window when a smaller widget
> > is present. Irrespective of whether a single button is placed or a
> > larger widgets with a complicated structure are placed, the size of the
> > window should remain same. It shouldn't allow to expand or shrink. Any
> > other ideas?
> 
> I think if you allow child widgets to expand, they expand to fit the
> larger window.
> Did you try this, or placing all the stuff in the center of 3x3 table?
> In such case cells on the  border will probably expand.
> These are only ideas, my experience is not enough to be sure that this
> must work.
> 
-- 
Der Mustermann <der-mustermann web de>
-- 
Sebastian Rose <sebastian_rose gmx de>




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