Tweak some UI Yaml files
- Increase space of some elements to fit their text. - Remove editor text that aren't translation keys. The text will be set in code anyway. - Remove some unused elements. - Provide a translation key for the port separator, to avoid log warnings.
This commit is contained in:
@@ -526,7 +526,6 @@ Container@EDITOR_WORLD_ROOT:
|
|||||||
Width: 30
|
Width: 30
|
||||||
Height: 25
|
Height: 25
|
||||||
Align: Left
|
Align: Left
|
||||||
Text: 85
|
|
||||||
Label@MODE_LABEL:
|
Label@MODE_LABEL:
|
||||||
X: 6
|
X: 6
|
||||||
Y: 102
|
Y: 102
|
||||||
@@ -558,7 +557,6 @@ Container@EDITOR_WORLD_ROOT:
|
|||||||
Width: 30
|
Width: 30
|
||||||
Height: 25
|
Height: 25
|
||||||
Align: Left
|
Align: Left
|
||||||
Text: 2
|
|
||||||
Visible: false
|
Visible: false
|
||||||
DropDownButton@FLIP_NUM_SIDES_DROPDOWN:
|
DropDownButton@FLIP_NUM_SIDES_DROPDOWN:
|
||||||
X: 129
|
X: 129
|
||||||
@@ -585,7 +583,6 @@ Container@EDITOR_WORLD_ROOT:
|
|||||||
Width: 30
|
Width: 30
|
||||||
Height: 25
|
Height: 25
|
||||||
Align: Left
|
Align: Left
|
||||||
Text: 0
|
|
||||||
Visible: false
|
Visible: false
|
||||||
Container@HISTORY_WIDGETS:
|
Container@HISTORY_WIDGETS:
|
||||||
Logic: HistoryLogLogic
|
Logic: HistoryLogLogic
|
||||||
@@ -651,7 +648,7 @@ Container@EDITOR_WORLD_ROOT:
|
|||||||
Label@AREA_FILTERS_LABEL:
|
Label@AREA_FILTERS_LABEL:
|
||||||
X: 6
|
X: 6
|
||||||
Y: 36
|
Y: 36
|
||||||
Width: 55
|
Width: 150
|
||||||
Height: 25
|
Height: 25
|
||||||
Font: Bold
|
Font: Bold
|
||||||
Align: Left
|
Align: Left
|
||||||
@@ -685,7 +682,7 @@ Container@EDITOR_WORLD_ROOT:
|
|||||||
Label@DIAGONAL_LABEL:
|
Label@DIAGONAL_LABEL:
|
||||||
X: 6
|
X: 6
|
||||||
Y: 171
|
Y: 171
|
||||||
Width: 55
|
Width: 120
|
||||||
Height: 20
|
Height: 20
|
||||||
Font: Bold
|
Font: Bold
|
||||||
Align: Left
|
Align: Left
|
||||||
@@ -693,7 +690,7 @@ Container@EDITOR_WORLD_ROOT:
|
|||||||
Label@RESOURCE_LABEL:
|
Label@RESOURCE_LABEL:
|
||||||
X: 6
|
X: 6
|
||||||
Y: 193
|
Y: 193
|
||||||
Width: 55
|
Width: 120
|
||||||
Height: 25
|
Height: 25
|
||||||
Font: Bold
|
Font: Bold
|
||||||
Align: Left
|
Align: Left
|
||||||
@@ -1004,16 +1001,3 @@ ScrollPanel@CATEGORY_FILTER_PANEL:
|
|||||||
Width: PARENT_RIGHT - 29
|
Width: PARENT_RIGHT - 29
|
||||||
Height: 20
|
Height: 20
|
||||||
Visible: false
|
Visible: false
|
||||||
|
|
||||||
ScrollPanel@OVERLAY_PANEL:
|
|
||||||
Width: 140
|
|
||||||
Height: 80
|
|
||||||
ItemSpacing: 5
|
|
||||||
TopBottomSpacing: 0
|
|
||||||
Children:
|
|
||||||
Checkbox@CATEGORY_TEMPLATE:
|
|
||||||
X: 5
|
|
||||||
Y: 5
|
|
||||||
Width: PARENT_RIGHT - 29
|
|
||||||
Height: 20
|
|
||||||
Visible: false
|
|
||||||
|
|||||||
@@ -72,29 +72,6 @@ Background@BUTTON_TOOLTIP_FACTIONSUFFIX:
|
|||||||
Font: TinyBold
|
Font: TinyBold
|
||||||
VAlign: Top
|
VAlign: Top
|
||||||
|
|
||||||
Background@BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP:
|
|
||||||
Logic: ButtonTooltipLogic
|
|
||||||
Background: panel-black
|
|
||||||
Height: 26
|
|
||||||
Children:
|
|
||||||
Label@LABEL:
|
|
||||||
X: 5
|
|
||||||
Y: 1
|
|
||||||
Height: 23
|
|
||||||
Font: Bold
|
|
||||||
Label@HOTKEY:
|
|
||||||
Y: 1
|
|
||||||
Visible: false
|
|
||||||
TextColor: FFFF00
|
|
||||||
Height: 23
|
|
||||||
Font: Bold
|
|
||||||
LabelWithHighlight@DESC:
|
|
||||||
X: 5
|
|
||||||
Y: 26
|
|
||||||
Height: 12
|
|
||||||
Font: TinyBold
|
|
||||||
VAlign: Top
|
|
||||||
|
|
||||||
Background@BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP_FACTIONSUFFIX:
|
Background@BUTTON_WITH_DESC_HIGHLIGHT_TOOLTIP_FACTIONSUFFIX:
|
||||||
Logic: ButtonTooltipLogic, AddFactionSuffixLogic
|
Logic: ButtonTooltipLogic, AddFactionSuffixLogic
|
||||||
Background: panel-black
|
Background: panel-black
|
||||||
|
|||||||
@@ -485,7 +485,6 @@ Container@EDITOR_WORLD_ROOT:
|
|||||||
Width: 30
|
Width: 30
|
||||||
Height: 25
|
Height: 25
|
||||||
Align: Left
|
Align: Left
|
||||||
Text: 85
|
|
||||||
Label@MODE_LABEL:
|
Label@MODE_LABEL:
|
||||||
X: 6
|
X: 6
|
||||||
Y: 102
|
Y: 102
|
||||||
@@ -517,7 +516,6 @@ Container@EDITOR_WORLD_ROOT:
|
|||||||
Width: 30
|
Width: 30
|
||||||
Height: 25
|
Height: 25
|
||||||
Align: Left
|
Align: Left
|
||||||
Text: 2
|
|
||||||
Visible: false
|
Visible: false
|
||||||
DropDownButton@FLIP_NUM_SIDES_DROPDOWN:
|
DropDownButton@FLIP_NUM_SIDES_DROPDOWN:
|
||||||
X: 129
|
X: 129
|
||||||
@@ -544,7 +542,6 @@ Container@EDITOR_WORLD_ROOT:
|
|||||||
Width: 30
|
Width: 30
|
||||||
Height: 25
|
Height: 25
|
||||||
Align: Left
|
Align: Left
|
||||||
Text: 0
|
|
||||||
Visible: false
|
Visible: false
|
||||||
Container@HISTORY_WIDGETS:
|
Container@HISTORY_WIDGETS:
|
||||||
X: WINDOW_RIGHT - 320
|
X: WINDOW_RIGHT - 320
|
||||||
@@ -599,7 +596,7 @@ Container@EDITOR_WORLD_ROOT:
|
|||||||
Label@AREA_FILTERS_LABEL:
|
Label@AREA_FILTERS_LABEL:
|
||||||
X: 15
|
X: 15
|
||||||
Y: 45
|
Y: 45
|
||||||
Width: 55
|
Width: 150
|
||||||
Height: 25
|
Height: 25
|
||||||
Font: Bold
|
Font: Bold
|
||||||
Align: Left
|
Align: Left
|
||||||
@@ -633,7 +630,7 @@ Container@EDITOR_WORLD_ROOT:
|
|||||||
Label@DIAGONAL_LABEL:
|
Label@DIAGONAL_LABEL:
|
||||||
X: 15
|
X: 15
|
||||||
Y: 171
|
Y: 171
|
||||||
Width: 55
|
Width: 120
|
||||||
Height: 20
|
Height: 20
|
||||||
Font: Bold
|
Font: Bold
|
||||||
Align: Left
|
Align: Left
|
||||||
@@ -641,7 +638,7 @@ Container@EDITOR_WORLD_ROOT:
|
|||||||
Label@RESOURCE_LABEL:
|
Label@RESOURCE_LABEL:
|
||||||
X: 15
|
X: 15
|
||||||
Y: 193
|
Y: 193
|
||||||
Width: 55
|
Width: 120
|
||||||
Height: 25
|
Height: 25
|
||||||
Font: Bold
|
Font: Bold
|
||||||
Align: Left
|
Align: Left
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ Background@DIRECTCONNECT_PANEL:
|
|||||||
Width: 10
|
Width: 10
|
||||||
Height: 25
|
Height: 25
|
||||||
Align: Center
|
Align: Center
|
||||||
Text: :
|
Text: label-directconnect-panel-port
|
||||||
TextField@PORT:
|
TextField@PORT:
|
||||||
X: 370
|
X: 370
|
||||||
Y: 60
|
Y: 60
|
||||||
|
|||||||
@@ -386,6 +386,7 @@ button-multiplayer-createserver-panel-create = Create
|
|||||||
## multiplayer-directconnect.yaml
|
## multiplayer-directconnect.yaml
|
||||||
label-directconnect-panel-title = Connect to Server
|
label-directconnect-panel-title = Connect to Server
|
||||||
label-directconnect-panel-address = Server Address:
|
label-directconnect-panel-address = Server Address:
|
||||||
|
label-directconnect-panel-port = :
|
||||||
button-directconnect-panel-join = Join
|
button-directconnect-panel-join = Join
|
||||||
|
|
||||||
## playerprofile.yaml
|
## playerprofile.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user