summaryrefslogtreecommitdiff
path: root/gtk2_ardour/color_theme_manager.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-06-06 18:28:45 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2019-06-06 18:32:13 -0600
commit95f2e4199b8f500beab4fae262715a237e14902b (patch)
tree8cb9ff1fde350fe9b22641e4acba80545ccc1f95 /gtk2_ardour/color_theme_manager.cc
parent6a051a97b3b5e18dab89f21a96e791e5a1b8614b (diff)
adjust h-size of color theme manager "Reset to Defaults" button
Diffstat (limited to 'gtk2_ardour/color_theme_manager.cc')
-rw-r--r--gtk2_ardour/color_theme_manager.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/color_theme_manager.cc b/gtk2_ardour/color_theme_manager.cc
index bc98fcec13..ed9f4adf47 100644
--- a/gtk2_ardour/color_theme_manager.cc
+++ b/gtk2_ardour/color_theme_manager.cc
@@ -150,7 +150,10 @@ ColorThemeManager::ColorThemeManager ()
table.attach (notebook, 0, 3, n, n + 1);
++n;
- table.attach (reset_button, 0, 3, n, n + 1);
+
+ Alignment* a = manage (new Alignment (0, 0.5, 0, 1.0));
+ a->add (reset_button);
+ table.attach (*a, 0, 1, n, n + 1);
color_dialog.get_colorsel()->set_has_opacity_control (true);
color_dialog.get_colorsel()->set_has_palette (true);