SessionDialog: move NEW button to the bottom

This creates a default focus chain that allows easy access to all 3
buttons before traversing other focusable widgets in the dialog
This commit is contained in:
Paul Davis 2025-11-12 16:02:12 -07:00
parent bbf2920f7f
commit 143bca4a6d

View file

@ -166,9 +166,9 @@ SessionDialog::SessionDialog (DialogTab initial_tab, const std::string& session_
}
}
_open_table.attach (new_button, 0,1, row, row + 1, FILL, FILL); ++row;
_open_table.attach (recent_button, 0,1, row, row + 1, FILL, FILL); ++row;
_open_table.attach (existing_button, 0,1, row, row + 1, FILL, FILL); ++row;
_open_table.attach (new_button, 0,1, row, row + 1, FILL, FILL); ++row;
++row;
Label *vspacer = manage (new Label());