summaryrefslogtreecommitdiff
path: root/gtk2_ardour/foldback_strip.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-09-08 22:33:01 +0200
committerRobin Gareus <robin@gareus.org>2019-09-08 22:33:01 +0200
commitbc7dfc4615b8fb1d62d7c264303b7d8c84875504 (patch)
tree5b2b9ea25ca03414c64deeb0fb7fe47c0a16c3a7 /gtk2_ardour/foldback_strip.cc
parenta8447a35accc7547f15db168801ec4d5c6c2fb0e (diff)
Tweak foldback style and tweak alignment
This tentatively re-uses nudge arrows for prev/next buttons, and matches alignment of the top of the strips.
Diffstat (limited to 'gtk2_ardour/foldback_strip.cc')
-rw-r--r--gtk2_ardour/foldback_strip.cc13
1 files changed, 7 insertions, 6 deletions
diff --git a/gtk2_ardour/foldback_strip.cc b/gtk2_ardour/foldback_strip.cc
index adc1e7f9b0..eb15309643 100644
--- a/gtk2_ardour/foldback_strip.cc
+++ b/gtk2_ardour/foldback_strip.cc
@@ -342,9 +342,11 @@ FoldbackStrip::init ()
name_button.set_text_ellipsize (Pango::ELLIPSIZE_END);
_previous_button.set_name ("mixer strip button");
- _previous_button.set_text (_("Previous"));
+ _previous_button.set_icon (ArdourIcon::NudgeLeft);
+ _previous_button.set_tweaks (ArdourButton::Square);
_next_button.set_name ("mixer strip button");
- _next_button.set_text (_("Next"));
+ _next_button.set_icon (ArdourIcon::NudgeRight);
+ _next_button.set_tweaks (ArdourButton::Square);
_show_sends_button.set_name ("send alert button");
_show_sends_button.set_text (_("Show Sends"));
@@ -353,9 +355,8 @@ FoldbackStrip::init ()
show_sends_box.pack_start (_show_sends_button, true, true);
_show_sends_button.show();
- prev_next_box.set_homogeneous (true);
- prev_next_box.pack_start (_previous_button, true, true);
- prev_next_box.pack_start (_next_button, true, true);
+ prev_next_box.pack_start (_previous_button, false, true);
+ prev_next_box.pack_end (_next_button, false, true);
_previous_button.show();
_next_button.show();
@@ -365,7 +366,7 @@ FoldbackStrip::init ()
_comment_button.signal_clicked.connect (sigc::mem_fun (*this, &RouteUI::toggle_comment_editor));
global_vpacker.set_border_width (1);
- global_vpacker.set_spacing (4);
+ global_vpacker.set_spacing (2);
global_vpacker.pack_start (prev_next_box, Gtk::PACK_SHRINK);
global_vpacker.pack_start (name_button, Gtk::PACK_SHRINK);