triggerbox: new trigger_property widgets, because trigger data != a region

This commit is contained in:
Ben Loftis 2021-12-15 18:08:15 -06:00
parent 2e48fbc8cb
commit a15397f746
8 changed files with 31 additions and 42 deletions

View file

@ -81,7 +81,7 @@ RegionPropertiesBox::RegionPropertiesBox ()
row = 0;
bbt_toggle.set_text (_("BBT Sync"));
bbt_toggle.set_text (_("Stretch"));
table.attach (bbt_toggle, 0, 1, row, row + 1, Gtk::SHRINK, Gtk::SHRINK);
row++;
@ -161,16 +161,6 @@ AudioRegionPropertiesBox::AudioRegionPropertiesBox ()
int row = 0;
label = manage (new Gtk::Label (_("Stretch Mode:")));
label->set_alignment (1.0, 0.5);
audio_t->attach (*label, 0, 1, row, row + 1, Gtk::FILL, Gtk::SHRINK);
stretch_selector.set_text ("Mixed");
stretch_selector.set_name ("generic button");
audio_t->attach (stretch_selector, 1, 3, row, row + 1, Gtk::FILL, Gtk::SHRINK);
row++;
label = manage (new Gtk::Label (_("Fades:")));
label->set_alignment (1.0, 0.5);
fade_in_enable_button.set_text (_("In"));