浏览代码

Moved creatureInfo into a group for easier calculations

krs 2 年之前
父节点
当前提交
a7606010ee
共有 1 个文件被更改,包括 21 次插入15 次删除
  1. 21 15
      config/widgets/settings/battleOptionsTab.json

+ 21 - 15
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}
-		},
-		{
-			"type": "labelDescription",
-			"text": "core.genrltxt.403", // Spells only
-			"position": {"x": 45, "y": 295}
+			"name": "creatureInfoLabels",
+			"type" : "verticalLayout",
+			"customType" : "labelDescription",
+			"position": {"x": 45, "y": 265},
+			"items":
+			[
+				{
+					"text": "core.genrltxt.402",
+				},
+				{
+					"text": "core.genrltxt.403",
+				}
+			]
 		},
 		{
-			"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",