[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtkmm
Subject:    Managing blank space
From:       Glus Xof <gtglus () gmail ! com>
Date:       2012-03-16 15:37:14
Message-ID: CAGFvGiNDdKgWt6ok-BtvpEtUcv8JV-fwE8EEXskvDsf=uMvt1w () mail ! gmail ! com
[Download RAW message or body]

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
_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic