13
0

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).
This commit is contained in:
nick_m 2015-03-14 03:56:14 +11:00
parent 4f57a56f04
commit 4d349f3d3a

View 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"));