From fe8d75445953da6b19d01f2a6bffd0f7b04120ee Mon Sep 17 00:00:00 2001 From: Igor Date: Mon, 1 Jul 2024 19:59:14 -0400 Subject: [PATCH] [flawhud] Updated mode selection --- src/TF2HUD.Editor/JSON/flawhud.json | 116 ++++++++-------------------- 1 file changed, 34 insertions(+), 82 deletions(-) diff --git a/src/TF2HUD.Editor/JSON/flawhud.json b/src/TF2HUD.Editor/JSON/flawhud.json index 56d9d669..27fcf4f6 100644 --- a/src/TF2HUD.Editor/JSON/flawhud.json +++ b/src/TF2HUD.Editor/JSON/flawhud.json @@ -1685,22 +1685,6 @@ "Value": "false", "Restart": true, "Files": { - "resource/ui/mainmenuplaylistentry.res": { - "ModeButton": { - "tall": { - "true": "75", - "false": "40" - }, - "wide": { - "true": "250", - "false": "115" - }, - "font": { - "true": "FontBold18", - "false": "FontBold12" - } - } - }, "resource/ui/matchmakingdashboardplaylist.res": { "ExpandableList": { "ypos": { @@ -1764,100 +1748,68 @@ } }, "resource/ui/matchmakingplaylist.res": { - "CasualEntry": { + "CasualLabel": { "xpos": { - "true": "0", - "false": "r165" - }, - "tall": { - "true": "75", - "false": "50" - }, - "wide": { - "true": "250", - "false": "140" + "true": "10", + "false": "r-40" }, - "proportionaltoparent": { - "true": "1", - "false": "0" + "ypos": { + "true": "0", + "false": "5" } }, - "CompetitiveEntry": { + "CompetitiveLabel": { "xpos": { - "true": "0", + "true": "10", "false": "5" - }, - "tall": { - "true": "75", - "false": "50" - }, - "wide": { - "true": "250", - "false": "140" - }, - "proportionaltoparent": { - "true": "1", - "false": "0" - }, - "pin_corner_to_sibling": { - "true": "PIN_TOPLEFT", - "false": "PIN_TOPRIGHT" - }, - "pin_to_sibling_corner": { - "true": "PIN_BOTTOMLEFT", - "false": "PIN_TOPLEFT" } }, - "MvMEntry": { + "MvMLabel": { "xpos": { "true": "0", "false": "5" }, - "tall": { - "true": "75", - "false": "50" - }, - "wide": { - "true": "250", - "false": "140" - }, - "proportionaltoparent": { - "true": "1", + "ypos": { + "true": "10", "false": "0" }, - "pin_corner_to_sibling": { - "true": "PIN_TOPLEFT", - "false": "PIN_TOPRIGHT" + "pin_to_sibling": { + "true": "CasualEntry", + "false": "CompetitiveLabel" }, "pin_to_sibling_corner": { "true": "PIN_BOTTOMLEFT", - "false": "PIN_TOPLEFT" + "false": "PIN_TOPRIGHT" + } + }, + "ServerBrowserLabel": { + "xpos": { + "true": "10", + "false": "5" } }, - "ServerBrowserEntry": { + "QuickplayLabel": { "xpos": { "true": "0", "false": "5" }, - "tall": { - "true": "75", - "false": "50" - }, - "wide": { - "true": "250", - "false": "140" - }, - "proportionaltoparent": { - "true": "1", + "ypos": { + "true": "10", "false": "0" }, - "pin_corner_to_sibling": { - "true": "PIN_TOPLEFT", - "false": "PIN_TOPRIGHT" + "pin_to_sibling": { + "true": "MvMEntry", + "false": "ServerBrowserLabel" }, "pin_to_sibling_corner": { "true": "PIN_BOTTOMLEFT", - "false": "PIN_TOPLEFT" + "false": "PIN_TOPRIGHT" + } + }, + "QuickplayArenaLabel": { + "xpos": { + "true": "10", + "false": "5" } } }