Fix selected map in server creation panel not updating

This commit is contained in:
Gustas
2023-08-05 22:52:10 +03:00
committed by Matthias Mailänder
parent 0dcb341059
commit e22d7b31f9
3 changed files with 30 additions and 112 deletions

View File

@@ -204,42 +204,11 @@ Container@MULTIPLAYER_CREATESERVER_PANEL:
Font: Tiny
Align: Left
Text: - You can disable UPnP/NAT-PMP in the settings menu.
Background@MAP_BG:
Container@MAP_PREVIEW_ROOT:
X: PARENT_RIGHT - 189
Y: 15
Width: 174
Height: 174
Background: panel-gray
Children:
MapPreview@MAP_PREVIEW:
X: 1
Y: 1
Width: PARENT_RIGHT - 2
Height: PARENT_RIGHT - 2
LabelWithTooltip@MAP_TITLE:
X: PARENT_RIGHT - 189
Y: 187
Width: 174
Height: 25
Font: Bold
Align: Center
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Label@MAP_TYPE:
X: PARENT_RIGHT - 189
Y: 202
Width: 174
Height: 25
Font: TinyBold
Align: Center
IgnoreMouseOver: true
Label@MAP_AUTHOR:
X: PARENT_RIGHT - 189
Y: 215
Width: 174
Height: 25
Font: Tiny
Align: Center
Height: 250
Button@BACK_BUTTON:
Key: return
Y: PARENT_BOTTOM - 1

View File

@@ -199,42 +199,11 @@ Background@MULTIPLAYER_CREATESERVER_PANEL:
Font: Tiny
Align: Left
Text: - You can disable UPnP/NAT-PMP in the settings menu.
Background@MAP_BG:
Container@MAP_PREVIEW_ROOT:
X: PARENT_RIGHT - 194
Y: 45
Width: 174
Height: 174
Background: dialog3
Children:
MapPreview@MAP_PREVIEW:
X: 1
Y: 1
Width: PARENT_RIGHT - 2
Height: PARENT_RIGHT - 2
LabelWithTooltip@MAP_TITLE:
X: PARENT_RIGHT - 194
Y: 218
Width: 174
Height: 25
Font: Bold
Align: Center
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Label@MAP_TYPE:
X: PARENT_RIGHT - 194
Y: 233
Width: 174
Height: 25
Font: TinyBold
Align: Center
IgnoreMouseOver: true
Label@MAP_AUTHOR:
X: PARENT_RIGHT - 194
Y: 246
Width: 174
Height: 25
Font: Tiny
Align: Center
Height: 250
Button@MAP_BUTTON:
X: 20
Y: PARENT_BOTTOM - 45