Managing blank space



Hi guys,

I've some trouble to manage some annoying blank space when rezising...

My main window contains a Gtk::Box, vertically oriented, which
contains four horizontal Gtk::Box. Like this,

Gtk::Box m_vbox (Gtk::ORIENTATION_VERTICAL, 2);
m_vbox.set_homogeneous (false);

Gtk::Box first_b (Gtk::ORIENTATION_HORIZONTAL, 2);
Gtk::Box second_b (Gtk::ORIENTATION_HORIZONTAL, 2);
Gtk::Box third_b (Gtk::ORIENTATION_HORIZONTAL, 2);
Gtk::Box fourth_b (Gtk::ORIENTATION_HORIZONTAL, 2);

m_vbox.pack_start (first_b, Gtk::PACK_SHRINK);
m_vbox.pack_start (second_b, Gtk::PACK_SHRINK);
m_vbox.pack_start (third_b);
m_vbox.pack_start (fourth_b, Gtk::PACK_SHRINK);

The "third_b" box, constains a Gtk:ScrolledWindow object as a child of
an Gtk::Expander, which is the only widget that would resize, when the
main window resizes...

The current effect I get, when resizing, is extra undesired space
between "first_b" and "second_b" objects and between "second_b" and
"third_b" also...

Any help ?

Glus


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