13
0

triggerbox: follow UI changes to Table::attach()

This commit is contained in:
Paul Davis 2021-09-14 21:18:36 -06:00
parent 1c42c733f7
commit 9925147aae

View File

@ -106,9 +106,9 @@ TriggerUI::TriggerUI (Item* parent, Trigger& t)
const double scale = UIConfiguration::instance().get_ui_scale();
const Distance spacing = 12. * scale;
attach (follow_action_button, { 0, 0 }, { 2, 1 }, PackExpand, PackExpand, { 10 });
attach (follow_left, { 0, 1 }, { 1, 2 }, PackExpand, PackExpand, { 10 });
attach (follow_right, { 1, 1 }, { 2, 2 }, PackExpand, PackExpand, { 10 });
attach (follow_action_button, 0, 0, 2, 1, PackExpand, PackExpand, { 10 });
attach (follow_left, 0, 1, 1, 2, PackExpand, PackExpand, { 10 });
attach (follow_right, 1, 1, 2, 2, PackExpand, PackExpand, { 10 });
trigger_changed ();
}