mirror of
https://github.com/OpenMW/openmw.git
synced 2025-07-09 23:11:39 +00:00
Set minimum width for Launch OpenMW button
This commit is contained in:
parent
9087de1596
commit
fb3687e62a
6 changed files with 10 additions and 8 deletions
|
@ -58,6 +58,8 @@ Launcher::MainDialog::MainDialog(const Files::ConfigurationManager& configuratio
|
||||||
buttonBox->button(QDialogButtonBox::Ok)->setText(tr("Launch OpenMW"));
|
buttonBox->button(QDialogButtonBox::Ok)->setText(tr("Launch OpenMW"));
|
||||||
buttonBox->button(QDialogButtonBox::Help)->setText(tr("Help"));
|
buttonBox->button(QDialogButtonBox::Help)->setText(tr("Help"));
|
||||||
|
|
||||||
|
buttonBox->button(QDialogButtonBox::Ok)->setMinimumWidth(160);
|
||||||
|
|
||||||
// Order of buttons can be different on different setups,
|
// Order of buttons can be different on different setups,
|
||||||
// so make sure that the Play button has a focus by default.
|
// so make sure that the Play button has a focus by default.
|
||||||
buttonBox->button(QDialogButtonBox::Ok)->setFocus();
|
buttonBox->button(QDialogButtonBox::Ok)->setFocus();
|
||||||
|
|
Loading…
Reference in a new issue