Set minimum width for Launch OpenMW button

esm4-texture
Andrei Kortunov 7 months ago
parent 9087de1596
commit fb3687e62a

@ -55,9 +55,11 @@ Launcher::MainDialog::MainDialog(const Files::ConfigurationManager& configuratio
&MainDialog::wizardFinished); &MainDialog::wizardFinished);
buttonBox->button(QDialogButtonBox::Close)->setText(tr("Close")); buttonBox->button(QDialogButtonBox::Close)->setText(tr("Close"));
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();

@ -448,7 +448,7 @@ to default Morrowind fonts. Check this box if you still prefer original fonts ov
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<source> Launch OpenMW </source> <source>Launch OpenMW</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>

@ -448,7 +448,7 @@ to default Morrowind fonts. Check this box if you still prefer original fonts ov
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<source> Launch OpenMW </source> <source>Launch OpenMW</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>

@ -448,7 +448,7 @@ to default Morrowind fonts. Check this box if you still prefer original fonts ov
<translation>Fermer</translation> <translation>Fermer</translation>
</message> </message>
<message> <message>
<source> Launch OpenMW </source> <source>Launch OpenMW</source>
<translation>Lancer OpenMW</translation> <translation>Lancer OpenMW</translation>
</message> </message>
<message> <message>

@ -450,8 +450,8 @@ to default Morrowind fonts. Check this box if you still prefer original fonts ov
<translation>Закрыть</translation> <translation>Закрыть</translation>
</message> </message>
<message> <message>
<source> Launch OpenMW </source> <source>Launch OpenMW</source>
<translation> Запустить OpenMW </translation> <translation>Запустить OpenMW</translation>
</message> </message>
<message> <message>
<source>Help</source> <source>Help</source>

@ -451,8 +451,8 @@ de ordinarie fonterna i Morrowind. Bocka denna ruta om du ändå föredrar ordin
<translation>Stäng</translation> <translation>Stäng</translation>
</message> </message>
<message> <message>
<source> Launch OpenMW </source> <source>Launch OpenMW</source>
<translation> Starta OpenMW </translation> <translation>Starta OpenMW</translation>
</message> </message>
<message> <message>
<source>Help</source> <source>Help</source>

Loading…
Cancel
Save