Expand spin buttons to avoid gap.

This commit is contained in:
Hombre 2016-03-14 00:03:08 +01:00
parent 8b6ac0d9d8
commit e4259ae4b4

View File

@ -135,8 +135,8 @@ void CoordinateAdjuster::createWidgets(const std::vector<Axis> &axis)
box->set_orientation(Gtk::ORIENTATION_HORIZONTAL);
box->set_column_spacing(3);
setExpandAlignProperties(currAdjuster->label, true, false, Gtk::ALIGN_START, Gtk::ALIGN_CENTER);
setExpandAlignProperties(currAdjuster->spinButton, false, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_CENTER);
setExpandAlignProperties(currAdjuster->label, false, false, Gtk::ALIGN_START, Gtk::ALIGN_CENTER);
setExpandAlignProperties(currAdjuster->spinButton, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_CENTER);
box->attach_next_to(*(currAdjuster->spinButton), Gtk::POS_LEFT, 1, 1);
box->attach_next_to(*(currAdjuster->label), Gtk::POS_LEFT, 1, 1);