summaryrefslogtreecommitdiff
path: root/gtk2_ardour/tempo_dialog.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2015-03-14 03:56:14 +1100
committernick_m <mainsbridge@gmail.com>2015-03-14 03:56:14 +1100
commit4d349f3d3afbd1ddd5f8f7a1a970c65682f727bb (patch)
treede75921eda7f2a5e2eafa1079a2922be15cef7e6 /gtk2_ardour/tempo_dialog.cc
parent4f57a56f04ece066b80f4c3bd013f32509e5031b (diff)
Align number entry in the meter dialog to the right in lieu of finding
the reason behind ComboBoxText's apparent miscalculation of its' layout width).
Diffstat (limited to 'gtk2_ardour/tempo_dialog.cc')
-rw-r--r--gtk2_ardour/tempo_dialog.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/tempo_dialog.cc b/gtk2_ardour/tempo_dialog.cc
index 18b5e144cb..531c3a6c89 100644
--- a/gtk2_ardour/tempo_dialog.cc
+++ b/gtk2_ardour/tempo_dialog.cc
@@ -316,6 +316,7 @@ MeterDialog::init (const Timecode::BBT_Time& when, double bpb, double divisor, b
snprintf (buf, sizeof (buf), "%.2f", bpb);
bpb_entry.set_text (buf);
bpb_entry.select_region (0, -1);
+ bpb_entry.set_alignment (1.0);
note_types.insert (make_pair (_("whole"), 1.0));
strings.push_back (_("whole"));