1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Fixed errors and added a line after CreatureNumbersToggleGroup to separate them visually from next element.

This commit is contained in:
krs
2023-05-21 20:00:19 +03:00
parent a7606010ee
commit 6daa933aa2

View File

@@ -9,6 +9,12 @@
"image": "settingsWindow/lineHorizontal", "image": "settingsWindow/lineHorizontal",
"rect": { "x" : 5, "y" : 289, "w": 365, "h": 3} "rect": { "x" : 5, "y" : 289, "w": 365, "h": 3}
}, },
{
"name": "lineCreatureNumbersToggleGroupEnd",
"type": "texture",
"image": "settingsWindow/lineHorizontal",
"rect": { "x" : 5, "y" : 383, "w": 220, "h": 3}
},
{ {
"type" : "labelTitle", "type" : "labelTitle",
"position": {"x": 10, "y": 55}, "position": {"x": 10, "y": 55},
@@ -76,13 +82,13 @@
{ {
"name": "fullscreenBorderlessCheckbox", "name": "fullscreenBorderlessCheckbox",
"help": "vcmi.systemOptions.fullscreenBorderless", "help": "vcmi.systemOptions.fullscreenBorderless",
"callback": "fullscreenBorderlessChanged" "callback": "fullscreenBorderlessChanged",
"created" : "desktop" "created" : "desktop"
}, },
{ {
"name": "fullscreenExclusiveCheckbox", "name": "fullscreenExclusiveCheckbox",
"help": "vcmi.systemOptions.fullscreenExclusive", "help": "vcmi.systemOptions.fullscreenExclusive",
"callback": "fullscreenExclusiveChanged" "callback": "fullscreenExclusiveChanged",
"created" : "desktop" "created" : "desktop"
}, },
{ {
@@ -153,17 +159,9 @@
}, },
{ {
"text": "vcmi.otherOptions.availableCreaturesAsDwellingLabel.hover", "text": "vcmi.otherOptions.availableCreaturesAsDwellingLabel.hover",
},
{
"text": "vcmi.otherOptions.compactTownCreatureInfo.hover",
} }
] ]
}, },
{
"name": "availableCreaturesAsDwellingPicker",
"type": "toggleGroup",
"callback": "availableCreaturesAsDwellingChanged"
},
{ {
"name": "availableCreaturesAsDwellingPicker", "name": "availableCreaturesAsDwellingPicker",
"type": "toggleGroup", "type": "toggleGroup",
@@ -185,11 +183,22 @@
], ],
"callback": "availableCreaturesAsDwellingChanged" "callback": "availableCreaturesAsDwellingChanged"
}, },
{
"name": "compactTownCreatureInfoLabel",
"type" : "verticalLayout",
"customType" : "labelDescription",
"position": {"x": 45, "y": 391},
"items" : [
{
"text": "vcmi.otherOptions.compactTownCreatureInfo.hover",
}
]
},
{ {
"name": "compactTownCreatureInfoCheckbox", "name": "compactTownCreatureInfoCheckbox",
"type": "checkbox", "type": "checkbox",
"help": "vcmi.otherOptions.compactTownCreatureInfo", "help": "vcmi.otherOptions.compactTownCreatureInfo",
"position": {"x": 10, "y": 383}, "position": {"x": 10, "y": 389},
"callback": "compactTownCreatureInfoChanged" "callback": "compactTownCreatureInfoChanged"
} }
] ]