dialogs: Fixup after recent layout changes

This commit is contained in:
Kim Woelders 2022-04-24 12:21:36 +02:00
parent a0c24a89af
commit a4cd43578d
1 changed files with 1 additions and 0 deletions

View File

@ -1821,6 +1821,7 @@ DialogOKstr(const char *title, const char *txt)
di = DialogItemAddButton(table, _("OK"), DialogCallbackClose, 0, 1,
DLG_BUTTON_OK);
DialogItemSetFill(di, 0, 0);
DialogItemSetAlign(di, 512, 512);
DialogBindKey(d, "Return", DialogCallbackClose, 0, NULL);
DialogBindKey(d, "Escape", DialogCallbackClose, 0, NULL);