From 637772f2dd9f33caf35fbe09219362e8300f373c Mon Sep 17 00:00:00 2001 From: shmyga Date: Wed, 17 Jul 2019 17:48:34 +0300 Subject: [PATCH] [client] fix AppTheme --- src/client/haxe/ru/m/tankz/AppTheme.hx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/client/haxe/ru/m/tankz/AppTheme.hx b/src/client/haxe/ru/m/tankz/AppTheme.hx index 9d8186b..212cd26 100644 --- a/src/client/haxe/ru/m/tankz/AppTheme.hx +++ b/src/client/haxe/ru/m/tankz/AppTheme.hx @@ -40,16 +40,16 @@ class AppTheme extends Theme { ], ["text"])); data.set("text.header", create([ - "font.size" => bigFontSize, + "font.size" => fontSize.big, "skin.background.color" => Color.fromInt(0x000000), "skin.background.alpha" => 0.1, "skin.border.color" => colors.light, "geometry.padding" => Box.fromArray([50, 8]), - "geometry.margin" => Box.fromArray([0, 0, 0, 30]), + "geometry.margin" => Box.fromArray([0, 0, 10, 30]), ], ["text"])); data.set("button.menu", create([ - "font.size" => bigFontSize, + "font.size" => fontSize.big, "geometry.padding" => Box.fromFloat(0), "geometry.width" => SizeValue.fromInt(250), "geometry.height" => SizeValue.fromInt(50), @@ -68,14 +68,13 @@ class AppTheme extends Theme { ], ["text"])); data.set("button.level", create([ - "font.size" => veryBigFontSize, + "font.size" => fontSize.veryBig, "geometry.width" => SizeValue.fromInt(64), "geometry.height" => SizeValue.fromInt(64), "geometry.padding" => Box.fromFloat(0), ], ["button"])); data.set("container", create([ - "font.size" => veryBigFontSize, "geometry.width" => SizeValue.fromString("100%"), "geometry.height" => SizeValue.fromString("100%"), "layout.hAlign" => HAlign.CENTER, @@ -83,7 +82,6 @@ class AppTheme extends Theme { ], ["dark"])); data.set("panel", create([ - "font.size" => veryBigFontSize, "geometry.width" => SizeValue.fromString("100%"), "geometry.padding" => Box.fromArray([10, 5]), "layout.vAlign" => VAlign.MIDDLE,