diff --git a/mods/cnc/chrome/lobby-players.yaml b/mods/cnc/chrome/lobby-players.yaml index 86a3f1adf3..fa6eec4bd9 100644 --- a/mods/cnc/chrome/lobby-players.yaml +++ b/mods/cnc/chrome/lobby-players.yaml @@ -29,7 +29,7 @@ Container@LOBBY_PLAYER_BIN: Align: Center Font: Bold Label@TEAM: - X: 460-25 + X: 460 - 25 Width: 50 Height: 25 Text: Team diff --git a/mods/cnc/chrome/lobby-servers.yaml b/mods/cnc/chrome/lobby-servers.yaml index 342d54bfcf..05525faa03 100644 --- a/mods/cnc/chrome/lobby-servers.yaml +++ b/mods/cnc/chrome/lobby-servers.yaml @@ -44,21 +44,21 @@ Container@LOBBY_SERVERS_BIN: Children: Label@OUTDATED_VERSION_LABEL: X: 5 - Width: PARENT_RIGHT-10 + Width: PARENT_RIGHT - 10 Height: 18 Align: Center Text: You are running an outdated version of OpenRA. Download the latest version from www.openra.net Font: TinyBold Label@UNKNOWN_VERSION_LABEL: X: 5 - Width: PARENT_RIGHT-10 + Width: PARENT_RIGHT - 10 Height: 18 Align: Center Text: You are running an unrecognized version of OpenRA. Download the latest version from www.openra.net Font: TinyBold Label@PLAYTEST_AVAILABLE_LABEL: X: 5 - Width: PARENT_RIGHT-10 + Width: PARENT_RIGHT - 10 Height: 18 Align: Center Text: A preview of the next OpenRA release is available for testing. Download the playtest from www.openra.net diff --git a/mods/cnc/chrome/multiplayer-browser.yaml b/mods/cnc/chrome/multiplayer-browser.yaml index 1be97b504b..b65a502682 100644 --- a/mods/cnc/chrome/multiplayer-browser.yaml +++ b/mods/cnc/chrome/multiplayer-browser.yaml @@ -62,21 +62,21 @@ Container@MULTIPLAYER_PANEL: Children: Label@OUTDATED_VERSION_LABEL: X: 5 - Width: PARENT_RIGHT-10 + Width: PARENT_RIGHT - 10 Height: 20 Align: Center Text: You are running an outdated version of OpenRA. Download the latest version from www.openra.net Font: TinyBold Label@UNKNOWN_VERSION_LABEL: X: 5 - Width: PARENT_RIGHT-10 + Width: PARENT_RIGHT - 10 Height: 20 Align: Center Text: You are running an unrecognized version of OpenRA. Download the latest version from www.openra.net Font: TinyBold Label@PLAYTEST_AVAILABLE_LABEL: X: 5 - Width: PARENT_RIGHT-10 + Width: PARENT_RIGHT - 10 Height: 20 Align: Center Text: A preview of the next OpenRA release is available for testing. Download the playtest from www.openra.net diff --git a/mods/cnc/chrome/multiplayer-directconnect.yaml b/mods/cnc/chrome/multiplayer-directconnect.yaml index 07041fb4b3..b6e9bf8ac8 100644 --- a/mods/cnc/chrome/multiplayer-directconnect.yaml +++ b/mods/cnc/chrome/multiplayer-directconnect.yaml @@ -1,7 +1,7 @@ Container@DIRECTCONNECT_PANEL: Logic: DirectConnectLogic - X: (WINDOW_RIGHT - WIDTH)/2 - Y: (WINDOW_BOTTOM - 90)/2 + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - 90) / 2 Width: 370 Height: 125 Children: diff --git a/mods/cnc/chrome/tooltips.yaml b/mods/cnc/chrome/tooltips.yaml index 625ef4df80..970016edbe 100644 --- a/mods/cnc/chrome/tooltips.yaml +++ b/mods/cnc/chrome/tooltips.yaml @@ -511,6 +511,6 @@ Container@REGISTERED_PLAYER_TOOLTIP: Font: Bold Background@BADGES_CONTAINER: Width: PARENT_RIGHT - Y: 0-1 + Y: -1 Visible: false Background: panel-black diff --git a/mods/common/chrome/lobby-servers.yaml b/mods/common/chrome/lobby-servers.yaml index 7692527fa4..9d3fac57ed 100644 --- a/mods/common/chrome/lobby-servers.yaml +++ b/mods/common/chrome/lobby-servers.yaml @@ -40,21 +40,21 @@ Container@LOBBY_SERVERS_BIN: Children: Label@OUTDATED_VERSION_LABEL: X: 5 - Width: PARENT_RIGHT-10 + Width: PARENT_RIGHT - 10 Height: 20 Align: Center Text: You are running an outdated version of OpenRA. Download the latest version from www.openra.net Font: TinyBold Label@UNKNOWN_VERSION_LABEL: X: 5 - Width: PARENT_RIGHT-10 + Width: PARENT_RIGHT - 10 Height: 20 Align: Center Text: You are running an unrecognized version of OpenRA. Download the latest version from www.openra.net Font: TinyBold Label@PLAYTEST_AVAILABLE_LABEL: X: 5 - Width: PARENT_RIGHT-10 + Width: PARENT_RIGHT - 10 Height: 20 Align: Center Text: A preview of the next OpenRA release is available for testing. Download the playtest from www.openra.net diff --git a/mods/common/chrome/lobby.yaml b/mods/common/chrome/lobby.yaml index cb5f89b507..a42ce5d357 100644 --- a/mods/common/chrome/lobby.yaml +++ b/mods/common/chrome/lobby.yaml @@ -47,7 +47,7 @@ Background@SERVER_LOBBY: Font: Bold Text: Options Button@MUSIC_TAB: - X: 2*162 + X: 2 * 162 Y: 285 Width: 162 Height: 31 diff --git a/mods/common/chrome/mainmenu-prompts.yaml b/mods/common/chrome/mainmenu-prompts.yaml index 029e9d105e..87eb281364 100644 --- a/mods/common/chrome/mainmenu-prompts.yaml +++ b/mods/common/chrome/mainmenu-prompts.yaml @@ -329,7 +329,7 @@ Background@MAINMENU_SYSTEM_INFO_PROMPT: X: 20 Y: 98 Width: PARENT_RIGHT - 40 - Height: 355-98-10 + Height: 355 - 98 - 10 TopBottomSpacing: 4 ItemSpacing: 4 Children: diff --git a/mods/common/chrome/multiplayer-browser.yaml b/mods/common/chrome/multiplayer-browser.yaml index d19d533349..633cba63f0 100644 --- a/mods/common/chrome/multiplayer-browser.yaml +++ b/mods/common/chrome/multiplayer-browser.yaml @@ -53,21 +53,21 @@ Background@MULTIPLAYER_PANEL: Children: Label@OUTDATED_VERSION_LABEL: X: 5 - Width: PARENT_RIGHT-10 + Width: PARENT_RIGHT - 10 Height: 20 Align: Center Text: You are running an outdated version of OpenRA. Download the latest version from www.openra.net Font: TinyBold Label@UNKNOWN_VERSION_LABEL: X: 5 - Width: PARENT_RIGHT-10 + Width: PARENT_RIGHT - 10 Height: 20 Align: Center Text: You are running an unrecognized version of OpenRA. Download the latest version from www.openra.net Font: TinyBold Label@PLAYTEST_AVAILABLE_LABEL: X: 5 - Width: PARENT_RIGHT-10 + Width: PARENT_RIGHT - 10 Height: 20 Align: Center Text: A preview of the next OpenRA release is available for testing. Download the playtest from www.openra.net diff --git a/mods/common/chrome/multiplayer-createserver.yaml b/mods/common/chrome/multiplayer-createserver.yaml index b270cfb58c..c7e5499970 100644 --- a/mods/common/chrome/multiplayer-createserver.yaml +++ b/mods/common/chrome/multiplayer-createserver.yaml @@ -1,7 +1,7 @@ Background@MULTIPLAYER_CREATESERVER_PANEL: Logic: ServerCreationLogic - X: (WINDOW_RIGHT - WIDTH)/2 - Y: (WINDOW_BOTTOM - HEIGHT)/2 + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 Width: 530 Height: 315 Children: @@ -252,7 +252,7 @@ Background@MULTIPLAYER_CREATESERVER_PANEL: Key: escape Button@CREATE_BUTTON: Key: return - X: PARENT_RIGHT - 2*WIDTH - 30 + X: PARENT_RIGHT - 2 * WIDTH - 30 Y: PARENT_BOTTOM - 45 Width: 120 Height: 25 diff --git a/mods/common/chrome/multiplayer-directconnect.yaml b/mods/common/chrome/multiplayer-directconnect.yaml index 13c0042514..e5a3568bfe 100644 --- a/mods/common/chrome/multiplayer-directconnect.yaml +++ b/mods/common/chrome/multiplayer-directconnect.yaml @@ -1,7 +1,7 @@ Background@DIRECTCONNECT_PANEL: Logic: DirectConnectLogic - X: (WINDOW_RIGHT - WIDTH)/2 - Y: (WINDOW_BOTTOM - HEIGHT)/2 + X: (WINDOW_RIGHT - WIDTH) / 2 + Y: (WINDOW_BOTTOM - HEIGHT) / 2 Width: 450 Height: 160 Children: diff --git a/mods/ra/chrome/ingame-player.yaml b/mods/ra/chrome/ingame-player.yaml index d18db7bb27..bef3126c44 100644 --- a/mods/ra/chrome/ingame-player.yaml +++ b/mods/ra/chrome/ingame-player.yaml @@ -627,7 +627,7 @@ Container@PLAYER_WIDGETS: TooltipTemplate: SIMPLE_TOOLTIP Children: Image@CASH_ICON: - X: 0-21 + X: -21 Y: 4 ImageCollection: cash-icons ImageName: cash-normal