GUI: U32: Rename more temp code and fix issues

- Remove convertFromU32.. where necessary
- Replace convertFromU32 to .encode() for better readability
- Fix spacing issues in tabs
- Fix spacing issues in popups
- Fix weird font rendering in certain menus.
- Fix dialog changing sizes by huge amount when changing languages
- Some minor changes from String::format to U32String::Format
This commit is contained in:
aryanrawlani28 2020-06-14 03:10:03 +05:30 committed by Eugene Sandulenko
parent 96912f4adb
commit 160a1320cc
9 changed files with 52 additions and 51 deletions

View file

@ -1182,7 +1182,7 @@ void SavenameDialog::open() {
Dialog::open();
setResult(-1);
_title->setLabel(Common::String::format(Common::convertFromU32String(_("Enter a description for slot %d:")).c_str(), _targetSlot));
_title->setLabel(Common::U32String::format(Common::convertFromU32String(_("Enter a description for slot %d:")).c_str(), _targetSlot));
}
void SavenameDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data) {