Made "Text Alignment" a global setting instead of a per line setting

This commit is contained in:
nutty
2026-08-29 12:19:08 +10:00
parent acc187d072
commit f7b703007f
2 changed files with 20 additions and 50 deletions
+13 -42
View File
@@ -57,6 +57,19 @@
"defaultValue": "",
"group": "Appearance"
},
{
"id": "textAlignment",
"label": "Text Alignment",
"description": "",
"type": "select",
"options": [
{ "value": "left", "label": "Left" },
{ "value": "center", "label": "Center" },
{ "value": "right", "label": "Right" }
],
"defaultValue": "center",
"group": "Appearance"
},
{
"id": "enableLine1",
"label": "Enable Line 1",
@@ -141,20 +154,6 @@
"showIf": "enableLine1",
"group": "Appearance"
},
{
"id": "line1TextAlignment",
"label": "Text Alignment",
"description": "",
"type": "select",
"options": [
{ "value": "left", "label": "Left" },
{ "value": "center", "label": "Center" },
{ "value": "right", "label": "Right" }
],
"defaultValue": "center",
"showIf": "enableLine1",
"group": "Appearance"
},
{
"id": "enableLine2",
"label": "Enable Line 2",
@@ -239,20 +238,6 @@
"showIf": "enableLine2",
"group": "Appearance"
},
{
"id": "line2TextAlignment",
"label": "Text Alignment",
"description": "",
"type": "select",
"options": [
{ "value": "left", "label": "Left" },
{ "value": "center", "label": "Center" },
{ "value": "right", "label": "Right" }
],
"defaultValue": "center",
"showIf": "enableLine2",
"group": "Appearance"
},
{
"id": "enableLine3",
"label": "Enable Line 3",
@@ -336,20 +321,6 @@
"defaultValue": "none",
"showIf": "enableLine3",
"group": "Appearance"
},
{
"id": "line3TextAlignment",
"label": "Text Alignment",
"description": "",
"type": "select",
"options": [
{ "value": "left", "label": "Left" },
{ "value": "center", "label": "Center" },
{ "value": "right", "label": "Right" }
],
"defaultValue": "center",
"showIf": "enableLine3",
"group": "Appearance"
}
]
}