Expand spin buttons to avoid gap.
This commit is contained in:
parent
8b6ac0d9d8
commit
e4259ae4b4
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user