Ticket #8704: popups.patch

File popups.patch, 861 bytes (added by jvprat, 13 years ago)
  • gui/launcher.cpp

     
    148148EditGameDialog::EditGameDialog(const String &domain, const String &desc)
    149149        : OptionsDialog(domain, "gameoptions") {
    150150
    151         int labelWidth = g_gui.evaluator()->getVar("gameOptionsLabelWidth");
     151        int labelWidth = g_gui.evaluator()->getVar("tabPopupsLabelW");
    152152
    153153        // GAME: Path to game data (r/o), extra data (r/o), and save data (r/w)
    154154        String gamePath(ConfMan.get("path", _domain));
     
    270270void EditGameDialog::reflowLayout() {
    271271        OptionsDialog::reflowLayout();
    272272
    273         int labelWidth = g_gui.evaluator()->getVar("gameOptionsLabelWidth");
     273        int labelWidth = g_gui.evaluator()->getVar("tabPopupsLabelW");
    274274
    275275        if (_langPopUp)
    276276                _langPopUp->changeLabelWidth(labelWidth);