Explorar o código

Increase element height for touch ui

luboslenco %!s(int64=2) %!d(string=hai) anos
pai
achega
9249d1d402
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Sources/arm/Config.hx

+ 4 - 0
Sources/arm/Config.hx

@@ -275,10 +275,14 @@ class Config {
 			UISidebar.inst.tagUIRedraw();
 		}
 		if (Config.raw.touch_ui) {
+			// Enlarge elements
 			App.theme.FULL_TABS = true;
 			App.theme.ELEMENT_H = 24 + 4;
 			App.theme.BUTTON_H = 22 + 4;
 			App.theme.FONT_SIZE = 13 + 2;
+			App.theme.ARROW_SIZE = 5 + 2;
+			App.theme.CHECK_SIZE = 15 + 4;
+			App.theme.CHECK_SELECT_SIZE = 8 + 2;
 			buttonAlign = zui.Zui.Align.Center;
 			buttonSpacing = "";
 		}