From a7606010ee488ede87ffc257eb9973898b29fa84 Mon Sep 17 00:00:00 2001 From: krs Date: Sun, 21 May 2023 19:58:46 +0300 Subject: [PATCH] Moved creatureInfo into a group for easier calculations --- config/widgets/settings/battleOptionsTab.json | 36 +++++++++++-------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/config/widgets/settings/battleOptionsTab.json b/config/widgets/settings/battleOptionsTab.json index f4f1b8b4b..8c2ab8df5 100644 --- a/config/widgets/settings/battleOptionsTab.json +++ b/config/widgets/settings/battleOptionsTab.json @@ -66,24 +66,30 @@ }, /////////////////////////////////////// Left section - checkboxes { - "type": "labelDescription", - "text": "core.genrltxt.402", // All Stats - "position": {"x": 45, "y": 265} + "name": "creatureInfoLabels", + "type" : "verticalLayout", + "customType" : "labelDescription", + "position": {"x": 45, "y": 265}, + "items": + [ + { + "text": "core.genrltxt.402", + }, + { + "text": "core.genrltxt.403", + } + ] }, { - "type": "labelDescription", - "text": "core.genrltxt.403", // Spells only - "position": {"x": 45, "y": 295} - }, - { - "name": "creatureInfoAllPlaceholder", - "type": "checkboxFake", + "name": "creatureInfoCheckboxes", + "type" : "verticalLayout", + "customType" : "checkboxFake", "position": {"x": 10, "y": 263}, - }, - { - "name": "creatureInfoSpellsPlaceholder", - "type": "checkboxFake", - "position": {"x": 10, "y": 293}, + "items": + [ + {}, + {} + ] }, { "name": "generalOptionsLabels",