Trigger page, slot property layout hacks

The layout should eventually really be simplified.
Use a HBox, remove nested tables, get rid of tables with only
one Frame inside. etc.
This commit is contained in:
Robin Gareus 2022-01-24 19:28:58 +01:00
parent 5b5d8e72f1
commit b6b9d9231b
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 3 additions and 3 deletions

View File

@ -128,7 +128,7 @@ AudioTriggerPropertiesBox::AudioTriggerPropertiesBox ()
_table.set_spacings (4);
_table.set_border_width (2);
attach (*eTempoBox, 0,1, 0,1, Gtk::FILL, Gtk::SHRINK);
attach (*eTempoBox, 0,1, 0,1, Gtk::FILL, Gtk::EXPAND | Gtk::FILL);
#if 0
attach (_table, 0,1, 1,2, Gtk::FILL, Gtk::SHRINK);
#endif

View File

@ -142,10 +142,10 @@ TriggerPage::TriggerPage ()
table->set_border_width (8);
int col = 0;
table->attach (_slot_prop_box, col, col + 1, 0, 1, Gtk::FILL, Gtk::SHRINK);
table->attach (_slot_prop_box, col, col + 1, 0, 1, Gtk::FILL, Gtk::SHRINK | Gtk::FILL);
col = 1;
table->attach (_audio_trig_box, col, col + 1, 0, 1, Gtk::FILL, Gtk::SHRINK);
table->attach (_audio_trig_box, col, col + 1, 0, 1, Gtk::FILL, Gtk::SHRINK | Gtk::FILL);
++col;
#ifdef MIDI_PROPERTIES_BOX_IMPLEMENTED