- adjusted editbox sizes

This commit is contained in:
Mark Vejvoda 2012-10-22 06:10:36 +00:00
parent 4598299caf
commit 95ac13a699
1 changed files with 5 additions and 0 deletions

View File

@ -635,6 +635,8 @@ MenuStateOptions::MenuStateOptions(Program *program, MainMenu *mainMenu):
labelTransifexUser.registerGraphicComponent(containerName,"labelTransifexUser");
labelTransifexUser.init(buttonStartPos ,buttonRowPos - 40);
labelTransifexUser.setMaxEditWidth(60);
labelTransifexUser.setMaxEditRenderWidth(120);
labelTransifexUser.setText(config.getString("TranslationGetURLUser","<none>"));
labelTransifexPwdLabel.registerGraphicComponent(containerName,"labelTransifexPwdLabel");
@ -643,6 +645,8 @@ MenuStateOptions::MenuStateOptions(Program *program, MainMenu *mainMenu):
labelTransifexPwd.registerGraphicComponent(containerName,"labelTransifexPwd");
labelTransifexPwd.init(buttonStartPos + 160 ,buttonRowPos - 40);
labelTransifexPwd.setMaxEditWidth(60);
labelTransifexPwd.setMaxEditRenderWidth(120);
labelTransifexPwd.setText(config.getString("TranslationGetURLPassword","<none>"));
labelTransifexI18NLabel.registerGraphicComponent(containerName,"labelTransifexI18NLabel");
@ -651,6 +655,7 @@ MenuStateOptions::MenuStateOptions(Program *program, MainMenu *mainMenu):
labelTransifexI18N.registerGraphicComponent(containerName,"labelTransifexI18N");
labelTransifexI18N.init(buttonStartPos + 300 ,buttonRowPos - 40);
labelTransifexI18N.setMaxEditWidth(2);
labelTransifexI18N.setText(config.getString("TranslationGetURLLanguage","en"));
setupTransifexUI();