Re-layout ctrl surface enable button: align left

Since the Preferences window can be rather wide, and the table expands,
a button on the left is preferred.
This commit is contained in:
Robin Gareus 2019-03-27 23:24:58 +01:00
parent 0ee6b03144
commit 258b95834f
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1329,10 +1329,10 @@ class ControlSurfacesOptions : public OptionEditorMiniPage
{
_store = ListStore::create (_model);
_view.set_model (_store);
_view.append_column (_("Control Surface Protocol"), _model.name);
_view.get_column(0)->set_resizable (true);
_view.get_column(0)->set_expand (true);
_view.append_column_editable (_("Enable"), _model.enabled);
_view.append_column (_("Control Surface Protocol"), _model.name);
_view.get_column(1)->set_resizable (true);
_view.get_column(1)->set_expand (true);
Gtk::HBox* edit_box = manage (new Gtk::HBox);
edit_box->set_spacing(3);