Fixing lots of UI bugs

This commit is contained in:
Vladislav Khorev committed 2026-07-10 21:30:59 +03:00
1 parent 8e745ce0cd
commit 79413e7319
33 files changed
+1740 -1342

No files matched your search

+17 -15
View File
@@ -7,9 +7,11 @@
{
"type": "StaticImage",
"name": "settingsBkg",
"width": "match_parent",
"height": "match_parent",
"texture": "resources/w/ui/img/main/bkg.png"
"width": 2992,
"height": 1632,
"horizontal_gravity": "center",
"vertical_gravity": "center",
"texture": "resources/w/ui/img/main/MenuBkg001_v001.png"
},
{
"type": "LinearLayout",
@@ -36,7 +38,7 @@
"name": "musicVolumeText",
"width": 500,
"height": 40,
"text": "Music volume: 100",
"text": "",
"fontSize": 32,
"textCentered": false,
"topAligned": true,
@@ -52,8 +54,8 @@
"value": 0.78125,
"interactive": true,
"textures": {
"track": "resources/w/red.png",
"knob": "resources/w/blue.png"
"track": "resources/loadingProgressBarFrame.png",
"knob": "resources/loadingProgressBar.png"
}
},
{
@@ -61,7 +63,7 @@
"name": "soundVolumeText",
"width": 500,
"height": 40,
"text": "Sound volume: 80",
"text": "",
"fontSize": 32,
"textCentered": false,
"topAligned": true,
@@ -77,8 +79,8 @@
"value": 0.625,
"interactive": true,
"textures": {
"track": "resources/w/red.png",
"knob": "resources/w/blue.png"
"track": "resources/loadingProgressBarFrame.png",
"knob": "resources/loadingProgressBar.png"
}
},
{
@@ -86,30 +88,30 @@
"name": "musicToggleButton",
"width": 500,
"height": 40,
"text": "Music: ON",
"text": "",
"fontSize": 32,
"textCentered": true,
"color": [0.2, 0.9, 0.2, 1.0]
"color": [1.0, 1.0, 1.0, 1.0]
},
{
"type": "TextButton",
"name": "soundToggleButton",
"width": 500,
"height": 40,
"text": "Sound: ON",
"text": "",
"fontSize": 32,
"textCentered": true,
"color": [0.2, 0.9, 0.2, 1.0]
"color": [1.0, 1.0, 1.0, 1.0]
},
{
"type": "TextButton",
"name": "fullScreenToggleButton",
"width": 500,
"height": 60,
"text": "Full screen: OFF",
"text": "",
"fontSize": 32,
"textCentered": true,
"color": [0.2, 0.9, 0.2, 1.0]
"color": [1.0, 1.0, 1.0, 1.0]
}
]
},