changed font size to 21 and ''< Back to Settings page'' button size
This commit is contained in:
parent
861076cd49
commit
d074c487bc
@ -1024,7 +1024,7 @@ local function create_settings_formspec(tabview, _, tabdata)
|
|||||||
formspec = formspec:sub(1, -2) -- remove trailing comma
|
formspec = formspec:sub(1, -2) -- remove trailing comma
|
||||||
end
|
end
|
||||||
formspec = formspec .. ";" .. selected_setting .. "]" ..
|
formspec = formspec .. ";" .. selected_setting .. "]" ..
|
||||||
"button[0,4.9;4,1;btn_back;".. fgettext("< Back to Settings page") .. "]" ..
|
"button[0,4.9;4.5,1;btn_back;".. fgettext("< Back to Settings page") .. "]" ..
|
||||||
"button[10,4.9;2,1;btn_edit;" .. fgettext("Edit") .. "]" ..
|
"button[10,4.9;2,1;btn_edit;" .. fgettext("Edit") .. "]" ..
|
||||||
"button[7,4.9;3,1;btn_restore;" .. fgettext("Restore Default") .. "]" ..
|
"button[7,4.9;3,1;btn_restore;" .. fgettext("Restore Default") .. "]" ..
|
||||||
"checkbox[0,4.3;cb_tech_settings;" .. fgettext("Show technical names") .. ";"
|
"checkbox[0,4.3;cb_tech_settings;" .. fgettext("Show technical names") .. ";"
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit adefaaf592d9479cc3870c270ef9d415c305ee5a
|
Subproject commit 02a7044e1971cf513cbe42df769dacbc476988ab
|
@ -502,15 +502,15 @@ void set_default_settings()
|
|||||||
|
|
||||||
if (x_inches < 3.7f) {
|
if (x_inches < 3.7f) {
|
||||||
settings->setDefault("hud_scaling", "0.6");
|
settings->setDefault("hud_scaling", "0.6");
|
||||||
settings->setDefault("font_size", "16");
|
settings->setDefault("font_size", "21");
|
||||||
settings->setDefault("mono_font_size", "14");
|
settings->setDefault("mono_font_size", "14");
|
||||||
} else if (x_inches < 4.5f) {
|
} else if (x_inches < 4.5f) {
|
||||||
settings->setDefault("hud_scaling", "0.7");
|
settings->setDefault("hud_scaling", "0.7");
|
||||||
settings->setDefault("font_size", "16");
|
settings->setDefault("font_size", "21");
|
||||||
settings->setDefault("mono_font_size", "14");
|
settings->setDefault("mono_font_size", "14");
|
||||||
} else if (x_inches < 6.0f) {
|
} else if (x_inches < 6.0f) {
|
||||||
settings->setDefault("hud_scaling", "0.85");
|
settings->setDefault("hud_scaling", "0.85");
|
||||||
settings->setDefault("font_size", "16");
|
settings->setDefault("font_size", "21");
|
||||||
settings->setDefault("mono_font_size", "14");
|
settings->setDefault("mono_font_size", "14");
|
||||||
}
|
}
|
||||||
// Tablets >= 6.0 use non-Android defaults for these settings
|
// Tablets >= 6.0 use non-Android defaults for these settings
|
||||||
|
Loading…
Reference in New Issue
Block a user