From e4259ae4b47ae527618d589ff41b0eef8184b398 Mon Sep 17 00:00:00 2001 From: Hombre Date: Mon, 14 Mar 2016 00:03:08 +0100 Subject: [PATCH] Expand spin buttons to avoid gap. --- rtgui/coordinateadjuster.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtgui/coordinateadjuster.cc b/rtgui/coordinateadjuster.cc index 4d08daeae..c2d92f995 100644 --- a/rtgui/coordinateadjuster.cc +++ b/rtgui/coordinateadjuster.cc @@ -135,8 +135,8 @@ void CoordinateAdjuster::createWidgets(const std::vector &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);