[client] fix AppTheme
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user