Adjust widget sizes to ensure they accommodate the English translation text.
Some existing widget are too small to accommodate their text. Adjust their sizes to fit. Text can be rendered outside the widget bounds so visually this often has no impact, but adjusting this now will help in the future for checking translation text for other languages fit in their widgets.
This commit is contained in:
@@ -72,7 +72,7 @@ Background@ASSETBROWSER_PANEL:
|
||||
Label@SPRITE_SCALE:
|
||||
X: PARENT_RIGHT - WIDTH - 440
|
||||
Y: 60
|
||||
Width: 40
|
||||
Width: 50
|
||||
Height: 25
|
||||
Font: Bold
|
||||
Align: Left
|
||||
|
||||
@@ -5,11 +5,12 @@ Container@DEBUG_PANEL:
|
||||
Height: PARENT_BOTTOM
|
||||
Children:
|
||||
Label@TITLE:
|
||||
Y: 26
|
||||
Y: 16
|
||||
Font: Bold
|
||||
Text: label-debug-panel-title
|
||||
Align: Center
|
||||
Width: PARENT_RIGHT
|
||||
Height: 20
|
||||
Checkbox@INSTANT_BUILD:
|
||||
X: 45
|
||||
Y: 45
|
||||
@@ -81,11 +82,12 @@ Container@DEBUG_PANEL:
|
||||
Font: Bold
|
||||
Text: button-debug-panel-reset-exploration
|
||||
Label@VISUALIZATIONS_TITLE:
|
||||
Y: 256
|
||||
Y: 246
|
||||
Font: Bold
|
||||
Text: label-debug-panel-visualizations-title
|
||||
Align: Center
|
||||
Width: PARENT_RIGHT
|
||||
Height: 20
|
||||
Checkbox@SHOW_UNIT_PATHS:
|
||||
X: 45
|
||||
Y: 275
|
||||
|
||||
@@ -53,7 +53,7 @@ Container@SKIRMISH_STATS:
|
||||
Font: Bold
|
||||
Label@ACTIONS:
|
||||
X: 457
|
||||
Width: 20
|
||||
Width: 80
|
||||
Height: 25
|
||||
Text: label-stats-actions
|
||||
Font: Bold
|
||||
|
||||
@@ -51,7 +51,7 @@ Container@LOBBY_PLAYER_BIN:
|
||||
Font: Bold
|
||||
Label@LABEL_LOBBY_STATUS:
|
||||
X: 617
|
||||
Width: 20
|
||||
Width: 20 + 24
|
||||
Height: 25
|
||||
Text: label-container-lobby-status
|
||||
Align: Left
|
||||
@@ -253,7 +253,7 @@ Container@LOBBY_PLAYER_BIN:
|
||||
Text: label-faction-factionname
|
||||
Label@TEAM:
|
||||
X: 420
|
||||
Width: 23
|
||||
Width: 42
|
||||
Height: 25
|
||||
Text: label-template-noneditable-player-team
|
||||
Align: Center
|
||||
|
||||
@@ -124,47 +124,56 @@ Background@MAINMENU_INTRODUCTION_PROMPT:
|
||||
Width: PARENT_RIGHT / 2 - 20
|
||||
Children:
|
||||
LabelWithHighlight@DESC_SELECTION:
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-classic-selection
|
||||
LabelWithHighlight@DESC_COMMANDS:
|
||||
Y: 17
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-classic-commands
|
||||
LabelWithHighlight@DESC_BUILDIGS:
|
||||
Y: 34
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-classic-buildigs
|
||||
LabelWithHighlight@DESC_SUPPORT:
|
||||
Y: 51
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-classic-support
|
||||
LabelWithHighlight@DESC_ZOOM:
|
||||
Y: 68
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-classic-zoom
|
||||
LabelWithHighlight@DESC_ZOOM_MODIFIER:
|
||||
Y: 68
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-classic-zoom-modifier
|
||||
LabelWithHighlight@DESC_SCROLL_RIGHT:
|
||||
Y: 85
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-classic-scroll-right
|
||||
LabelWithHighlight@DESC_SCROLL_MIDDLE:
|
||||
Y: 85
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-classic-scroll-middle
|
||||
Label@DESC_EDGESCROLL:
|
||||
X: 9
|
||||
Y: 102
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-classic-edgescroll
|
||||
@@ -173,47 +182,56 @@ Background@MAINMENU_INTRODUCTION_PROMPT:
|
||||
Width: PARENT_RIGHT / 2 - 20
|
||||
Children:
|
||||
LabelWithHighlight@DESC_SELECTION:
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-modern-selection
|
||||
LabelWithHighlight@DESC_COMMANDS:
|
||||
Y: 17
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-modern-commands
|
||||
LabelWithHighlight@DESC_BUILDIGS:
|
||||
Y: 34
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-modern-buildigs
|
||||
LabelWithHighlight@DESC_SUPPORT:
|
||||
Y: 51
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-modern-support
|
||||
LabelWithHighlight@DESC_ZOOM:
|
||||
Y: 68
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-modern-zoom
|
||||
LabelWithHighlight@DESC_ZOOM_MODIFIER:
|
||||
Y: 68
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-modern-zoom-modifier
|
||||
LabelWithHighlight@DESC_SCROLL_RIGHT:
|
||||
Y: 85
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-modern-scroll-right
|
||||
LabelWithHighlight@DESC_SCROLL_MIDDLE:
|
||||
Y: 85
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-modern-scroll-middle
|
||||
Label@DESC_EDGESCROLL:
|
||||
X: 9
|
||||
Y: 102
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-modern-edgescroll
|
||||
|
||||
@@ -14,9 +14,9 @@ Background@DIRECTCONNECT_PANEL:
|
||||
Align: Center
|
||||
Font: Bold
|
||||
Label@ADDRESS_LABEL:
|
||||
X: 50
|
||||
X: 20
|
||||
Y: 60
|
||||
Width: 95
|
||||
Width: 125
|
||||
Height: 25
|
||||
Align: Right
|
||||
Text: label-directconnect-panel-address
|
||||
|
||||
@@ -27,7 +27,7 @@ Container@HOTKEYS_PANEL:
|
||||
Height: PARENT_BOTTOM
|
||||
Children:
|
||||
Label@FILTER_INPUT_LABEL:
|
||||
Width: 100
|
||||
Width: 103
|
||||
Height: 25
|
||||
Font: Bold
|
||||
Text: label-hotkeys-panel-filter-input
|
||||
|
||||
@@ -61,47 +61,56 @@ Container@INPUT_PANEL:
|
||||
Width: PARENT_RIGHT
|
||||
Children:
|
||||
LabelWithHighlight@DESC_SELECTION:
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-classic-selection
|
||||
LabelWithHighlight@DESC_COMMANDS:
|
||||
Y: 17
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-classic-commands
|
||||
LabelWithHighlight@DESC_BUILDIGS:
|
||||
Y: 34
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-classic-buildigs
|
||||
LabelWithHighlight@DESC_SUPPORT:
|
||||
Y: 51
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-classic-support
|
||||
LabelWithHighlight@DESC_ZOOM:
|
||||
Y: 68
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-classic-zoom
|
||||
LabelWithHighlight@DESC_ZOOM_MODIFIER:
|
||||
Y: 68
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-classic-zoom-modifier
|
||||
LabelWithHighlight@DESC_SCROLL_RIGHT:
|
||||
Y: 85
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-classic-scroll-right
|
||||
LabelWithHighlight@DESC_SCROLL_MIDDLE:
|
||||
Y: 85
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-classic-scroll-middle
|
||||
Label@DESC_EDGESCROLL:
|
||||
X: 9
|
||||
Y: 102
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-classic-edgescroll
|
||||
@@ -111,47 +120,56 @@ Container@INPUT_PANEL:
|
||||
Width: PARENT_RIGHT / 2 - 20
|
||||
Children:
|
||||
LabelWithHighlight@DESC_SELECTION:
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-modern-selection
|
||||
LabelWithHighlight@DESC_COMMANDS:
|
||||
Y: 17
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-modern-commands
|
||||
LabelWithHighlight@DESC_BUILDIGS:
|
||||
Y: 34
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-modern-buildigs
|
||||
LabelWithHighlight@DESC_SUPPORT:
|
||||
Y: 51
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-modern-support
|
||||
LabelWithHighlight@DESC_ZOOM:
|
||||
Y: 68
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-modern-zoom
|
||||
LabelWithHighlight@DESC_ZOOM_MODIFIER:
|
||||
Y: 68
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-modern-zoom-modifier
|
||||
LabelWithHighlight@DESC_SCROLL_RIGHT:
|
||||
Y: 85
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-modern-scroll-right
|
||||
LabelWithHighlight@DESC_SCROLL_MIDDLE:
|
||||
Y: 85
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-modern-scroll-middle
|
||||
Label@DESC_EDGESCROLL:
|
||||
X: 9
|
||||
Y: 102
|
||||
Width: PARENT_RIGHT
|
||||
Height: 16
|
||||
Font: Small
|
||||
Text: label-mouse-control-desc-modern-edgescroll
|
||||
|
||||
@@ -121,6 +121,7 @@ Background@LATENCY_TOOLTIP:
|
||||
Label@LATENCY_PREFIX:
|
||||
X: 7
|
||||
Y: 3
|
||||
Width: 200
|
||||
Height: 26
|
||||
Font: Bold
|
||||
Text: label-latency-tooltip-prefix
|
||||
@@ -133,12 +134,13 @@ Background@ANONYMOUS_PLAYER_TOOLTIP:
|
||||
Logic: AnonymousProfileTooltipLogic
|
||||
Background: dialog4
|
||||
Height: 30
|
||||
Width: 200
|
||||
Width: 300
|
||||
Children:
|
||||
Label@NAME:
|
||||
X: 7
|
||||
Y: 2
|
||||
Text: label-anonymous-player-tooltip-name
|
||||
Width: 290
|
||||
Height: 24
|
||||
Font: MediumBold
|
||||
Label@LOCATION:
|
||||
@@ -168,6 +170,7 @@ Background@ANONYMOUS_PLAYER_TOOLTIP:
|
||||
ImageName: admin
|
||||
Label@LABEL:
|
||||
X: 10
|
||||
Width: 200
|
||||
Height: 12
|
||||
Text: label-game-admin
|
||||
Font: TinyBold
|
||||
@@ -211,6 +214,7 @@ Background@REGISTERED_PLAYER_TOOLTIP:
|
||||
Label@LABEL:
|
||||
X: 10
|
||||
Y: 1
|
||||
Width: 200
|
||||
Height: 12
|
||||
Text: label-game-admin
|
||||
Font: TinyBold
|
||||
|
||||
Reference in New Issue
Block a user