Re: question about Gtk::Layout and Gtk::ScrolledWindow
- From: Vladislav Grinchenko <3rdshift comcast net>
- To: Antonio Coralles <noche suapie reflex at>
- Cc: Gtkmm list <gtkmm-list gnome org>
- Subject: Re: question about Gtk::Layout and Gtk::ScrolledWindow
- Date: Tue, 02 Nov 2004 23:44:58 -0500
I faced similar problems with a label in a scrolled window.
The way I solved it was to remember the size of the enclosing
container when it changes and then when enclosing child tries to
change its size, restrain it from growing too much.
Search for size_allocate_cb() and answer_box_size_allocate_cb()
hope this helps,
On Tue, 2004-11-02 at 09:49, Antonio Coralles wrote:
> when i add a Gtk::Layout to a Gtk::ScrolledWindow it just works like i
> want, as long as the parrent window is smaller than the size of my
> layout. but when it get's bigger, the layout is expanded in size, which
> is particullary not what i want .... so i would like to know if there is
> a way to prevent a layout inside a scrolled window from expanding after
> the the area inside the scrolled window matches a particular size.
> maybe someone can help me,
> gtkmm-list mailing list
> gtkmm-list gnome org
Vladislav Grinchenko http://home.comcast.net/~3rdshift/
e-mail: 3rdshift comcast net
Focus on quality, and productivity will follow.
] [Thread Prev