mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-17 12:47:46 +00:00
Fix language button oversize in Android
This commit is contained in:
parent
c8ca416b60
commit
f78426cbc1
@ -697,7 +697,7 @@ void SystemScreen::render() {
|
||||
if (!code.empty())
|
||||
buttonTitle = code;
|
||||
|
||||
if (UIButton(GEN_ID_LOOP(i), vlang, LARGE_BUTTON_WIDTH, 0, buttonTitle.c_str(), ALIGN_TOPLEFT)) {
|
||||
if (UIButton(GEN_ID_LOOP(i), vlang, LARGE_BUTTON_WIDTH - 40, 0, buttonTitle.c_str(), ALIGN_TOPLEFT)) {
|
||||
std::string oldLang = g_Config.languageIni;
|
||||
g_Config.languageIni = code;
|
||||
if (i18nrepo.LoadIni(g_Config.languageIni)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user