Tweak TB layout: same height for all slot-property frames

This commit is contained in:
Robin Gareus 2022-01-24 18:53:58 +01:00
parent 9b224a79d4
commit 5b5d8e72f1
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 4 additions and 4 deletions

View File

@ -345,9 +345,9 @@ SlotPropertyTable::SlotPropertyTable ()
eLaunchBox->set_edge_color (0x000000ff); // black
eLaunchBox->add (_launch_table);
attach(*trigBox, 0,1, 0,1, Gtk::FILL, Gtk::SHRINK );
attach(*eLaunchBox, 1,2, 0,1, Gtk::FILL, Gtk::SHRINK );
attach(*eFollowBox, 2,3, 0,1, Gtk::FILL, Gtk::SHRINK );
attach(*trigBox, 0,1, 0,1, Gtk::FILL, Gtk::SHRINK | Gtk::FILL);
attach(*eLaunchBox, 1,2, 0,1, Gtk::FILL, Gtk::SHRINK | Gtk::FILL);
attach(*eFollowBox, 2,3, 0,1, Gtk::FILL, Gtk::SHRINK | Gtk::FILL);
}
SlotPropertyTable::~SlotPropertyTable ()

View File

@ -148,7 +148,7 @@ TriggerPage::TriggerPage ()
table->attach (_audio_trig_box, col, col + 1, 0, 1, Gtk::FILL, Gtk::SHRINK);
++col;
#if MIDI_PROPERTIES_BOX_IMPLEMENTED
#ifdef MIDI_PROPERTIES_BOX_IMPLEMENTED
col = 2;
table->attach (_midi_trig_box, col, col + 1, 0, 1, Gtk::FILL, Gtk::SHRINK);
++col;