Ver código fonte

Moved creatureInfo into a group for easier calculations

krs 2 anos atrás
pai
commit
a7606010ee
1 arquivos alterados com 21 adições e 15 exclusões
  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",