Align number entry in the meter dialog to the right in lieu of finding
authornick_m <mainsbridge@gmail.com>
Fri, 13 Mar 2015 16:56:14 +0000 (03:56 +1100)
committernick_m <mainsbridge@gmail.com>
Fri, 13 Mar 2015 16:56:14 +0000 (03:56 +1100)
the reason behind ComboBoxText's apparent miscalculation of its' layout
width).

gtk2_ardour/tempo_dialog.cc

index 18b5e144cbc9a758834fbca92db2b09132e29d6c..531c3a6c899a2acffcbff1e8b5ca092eb5cbbf47 100644 (file)
@@ -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"));