diff --git a/OpenRA.Mods.Common/Widgets/Logic/IntroductionPromptLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/IntroductionPromptLogic.cs index e344981d8b..99859f2fa7 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/IntroductionPromptLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/IntroductionPromptLogic.cs @@ -139,6 +139,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic Ui.CloseWindow(); onComplete(); }; + + SettingsUtils.AdjustSettingsScrollPanelLayout(widget.Get("SETTINGS_SCROLLPANEL")); } } } diff --git a/mods/cnc/chrome/mainmenu-prompts.yaml b/mods/cnc/chrome/mainmenu-prompts.yaml index 888c23ff20..251a9c5dc6 100644 --- a/mods/cnc/chrome/mainmenu-prompts.yaml +++ b/mods/cnc/chrome/mainmenu-prompts.yaml @@ -2,10 +2,10 @@ Container@MAINMENU_INTRODUCTION_PROMPT: Logic: IntroductionPromptLogic X: (WINDOW_RIGHT - WIDTH) / 2 Y: (WINDOW_BOTTOM - HEIGHT) / 2 - Width: 600 - Height: 350 + Width: 700 + Height: 445 Children: - Label@TITLE: + Label@PROMPT_TITLE: Width: PARENT_RIGHT Y: 0 - 25 Font: BigBold @@ -31,222 +31,265 @@ Container@MAINMENU_INTRODUCTION_PROMPT: Font: Regular Align: Center Text: Additional options can be configured later from the Settings menu. - Label@PROFILE_TITLE: - Width: PARENT_RIGHT + ScrollPanel@SETTINGS_SCROLLPANEL: + X: 15 Y: 60 - Height: 25 - Font: Bold - Align: Center - Text: Profile - Label@PLAYER: - Text: Player Name: - X: 15 - Y: 90 - Width: 120 - Height: 25 - Align: Right - TextField@PLAYERNAME: - X: 140 - Y: 90 - Width: 160 - Height: 25 - MaxLength: 16 - Label@COLOR: - X: 265 + 60 - Y: 90 - Width: 145 - Height: 25 - Text: Preferred Color: - Align: Right - DropDownButton@PLAYERCOLOR: - X: 415 + 60 - Y: 90 - Width: 75 - Height: 25 - IgnoreChildMouseOver: true - PanelAlign: Right + Width: PARENT_RIGHT - 30 + Height: PARENT_BOTTOM - 75 + CollapseHiddenChildren: True + TopBottomSpacing: 5 + ItemSpacing: 10 + ScrollBar: Hidden Children: - ColorBlock@COLORBLOCK: + Background@SECTION_HEADER: X: 5 - Y: 6 - Width: PARENT_RIGHT - 35 - Height: PARENT_BOTTOM - 12 - Label@INPUT_TITLE: - Width: PARENT_RIGHT - Y: 120 - Height: 25 - Font: Bold - Align: Center - Text: Input - Label@MOUSE_CONTROL_LABEL: - X: 15 - Y: 150 - Width: 120 - Height: 25 - Font: Regular - Text: Control Scheme: - Align: Right - DropDownButton@MOUSE_CONTROL_DROPDOWN: - X: 140 - Y: 150 - Width: 160 - Height: 25 - Font: Regular - Checkbox@EDGESCROLL_CHECKBOX: - X: 365 - Y: 153 - Width: 180 - Height: 20 - Font: Regular - Text: Screen Edge Panning - Container@MOUSE_CONTROL_DESC_CLASSIC: - X: 25 - Y: 180 - Width: PARENT_RIGHT - 50 - Children: - LabelWithHighlight@DESC_SELECTION: - Height: 16 - Font: Small - Text: - Select units using the {Left} mouse button - LabelWithHighlight@DESC_COMMANDS: - Y: 17 - Height: 16 - Font: Small - Text: - Command units using the {Left} mouse button - LabelWithHighlight@DESC_BUILDIGS: - Y: 34 - Height: 16 - Font: Small - Text: - Place structures using the {Left} mouse button - LabelWithHighlight@DESC_SUPPORT: - X: 265 - Height: 16 - Font: Small - Text: - Target support powers using the {Left} mouse button - LabelWithHighlight@DESC_ZOOM: - X: 265 - Y: 17 - Height: 16 - Font: Small - Text: - Zoom the battlefield using the {Scroll Wheel} - LabelWithHighlight@DESC_ZOOM_MODIFIER: - X: 265 - Y: 17 - Height: 16 - Font: Small - Text: - Zoom the battlefield using {MODIFIER + Scroll Wheel} - LabelWithHighlight@DESC_SCROLL_RIGHT: - X: 265 - Y: 34 - Height: 16 - Font: Small - Text: - Pan the battlefield using the {Right} mouse button - LabelWithHighlight@DESC_SCROLL_MIDDLE: - X: 265 - Y: 34 - Height: 16 - Font: Small - Text: - Pan the battlefield using the {Middle} mouse button - Label@DESC_EDGESCROLL: - X: 274 - Y: 51 - Height: 16 - Font: Small - Text: or by moving the cursor to the edge of the screen - Container@MOUSE_CONTROL_DESC_MODERN: - X: 25 - Y: 180 - Width: PARENT_RIGHT - 50 - Children: - LabelWithHighlight@DESC_SELECTION: - Height: 16 - Font: Small - Text: - Select units using the {Left} mouse button - LabelWithHighlight@DESC_COMMANDS: - Y: 17 - Height: 16 - Font: Small - Text: - Command units using the {Right} mouse button - LabelWithHighlight@DESC_BUILDIGS: - Y: 34 - Height: 16 - Font: Small - Text: - Place structures using the {Left} mouse button - LabelWithHighlight@DESC_SUPPORT: - X: 265 - Height: 16 - Font: Small - Text: - Target support powers using the {Left} mouse button - LabelWithHighlight@DESC_ZOOM: - X: 265 - Y: 17 - Height: 16 - Font: Small - Text: - Zoom the battlefield using the {Scroll Wheel} - LabelWithHighlight@DESC_ZOOM_MODIFIER: - X: 265 - Y: 17 - Height: 16 - Font: Small - Text: - Zoom the battlefield using {MODIFIER + Scroll Wheel} - LabelWithHighlight@DESC_SCROLL_RIGHT: - X: 265 - Y: 34 - Height: 16 - Font: Small - Text: - Pan the battlefield using the {Right} mouse button - LabelWithHighlight@DESC_SCROLL_MIDDLE: - X: 265 - Y: 34 - Height: 16 - Font: Small - Text: - Pan the battlefield using the {Middle} mouse button - Label@DESC_EDGESCROLL: - X: 274 - Y: 51 - Height: 16 - Font: Small - Text: or by moving the cursor to the edge of the screen - Label@INPUT_TITLE: - Width: PARENT_RIGHT - Y: 250 - Height: 25 - Font: Bold - Align: Center - Text: Display - Label@BATTLEFIELD_CAMERA: - X: 15 - Y: 280 - Width: 120 - Height: 25 - Text: Battlefield Camera: - Align: Right - DropDownButton@BATTLEFIELD_CAMERA_DROPDOWN: - X: 140 - Y: 280 - Width: 160 - Height: 25 - Font: Regular - Label@UI_SCALE: - X: 275 - Y: 280 - Width: 145 - Height: 25 - Text: UI Scale: - Align: Right - DropDownButton@UI_SCALE_DROPDOWN: - X: 425 - Y: 280 - Width: 160 - Height: 25 - Font: Regular - Checkbox@CURSORDOUBLE_CHECKBOX: - X: 390 - Y: 313 - Width: 200 - Height: 20 - Font: Regular - Text: Increase Cursor Size + Width: PARENT_RIGHT - 10 + Height: 13 + Background: separator + Children: + Label@LABEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: TinyBold + Align: Center + Text: Profile + Container@ROW: + Width: PARENT_RIGHT + Height: 50 + Children: + Container@PLAYER_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@PLAYER: + Width: PARENT_RIGHT + Height: 20 + Text: Player Name: + TextField@PLAYERNAME: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + MaxLength: 16 + Text: Name + Container@PLAYERCOLOR_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@COLOR: + Width: PARENT_RIGHT + Height: 20 + Text: Preferred Color: + DropDownButton@PLAYERCOLOR: + Y: 25 + Width: 75 + Height: 25 + IgnoreChildMouseOver: true + PanelAlign: Right + Children: + ColorBlock@COLORBLOCK: + X: 5 + Y: 6 + Width: PARENT_RIGHT - 35 + Height: PARENT_BOTTOM - 12 + Container@SPACER: + Background@SECTION_HEADER: + X: 5 + Width: PARENT_RIGHT - 10 + Height: 13 + Background: separator + Children: + Label@LABEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: TinyBold + Align: Center + Text: Input + Container@ROW: + Width: PARENT_RIGHT + Height: 50 + Children: + Container@MOUSE_CONTROL_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@MOUSE_CONTROL_LABEL: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Control Scheme: + DropDownButton@MOUSE_CONTROL_DROPDOWN: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Container@MOUSE_CONTROL_DESC_CLASSIC: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + LabelWithHighlight@DESC_SELECTION: + Height: 16 + Font: Small + Text: - Select units using the {Left} mouse button + LabelWithHighlight@DESC_COMMANDS: + Y: 17 + Height: 16 + Font: Small + Text: - Command units using the {Left} mouse button + LabelWithHighlight@DESC_BUILDIGS: + Y: 34 + Height: 16 + Font: Small + Text: - Place structures using the {Left} mouse button + LabelWithHighlight@DESC_SUPPORT: + Y: 51 + Height: 16 + Font: Small + Text: - Target support powers using the {Left} mouse button + LabelWithHighlight@DESC_ZOOM: + Y: 68 + Height: 16 + Font: Small + Text: - Zoom the battlefield using the {Scroll Wheel} + LabelWithHighlight@DESC_ZOOM_MODIFIER: + Y: 68 + Height: 16 + Font: Small + Text: - Zoom the battlefield using {MODIFIER + Scroll Wheel} + LabelWithHighlight@DESC_SCROLL_RIGHT: + Y: 85 + Height: 16 + Font: Small + Text: - Pan the battlefield using the {Right} mouse button + LabelWithHighlight@DESC_SCROLL_MIDDLE: + Y: 85 + Height: 16 + Font: Small + Text: - Pan the battlefield using the {Middle} mouse button + Label@DESC_EDGESCROLL: + X: 9 + Y: 102 + Height: 16 + Font: Small + Text: or by moving the cursor to the edge of the screen + Container@MOUSE_CONTROL_DESC_MODERN: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + LabelWithHighlight@DESC_SELECTION: + Height: 16 + Font: Small + Text: - Select units using the {Left} mouse button + LabelWithHighlight@DESC_COMMANDS: + Y: 17 + Height: 16 + Font: Small + Text: - Command units using the {Right} mouse button + LabelWithHighlight@DESC_BUILDIGS: + Y: 34 + Height: 16 + Font: Small + Text: - Place structures using the {Left} mouse button + LabelWithHighlight@DESC_SUPPORT: + Y: 51 + Height: 16 + Font: Small + Text: - Target support powers using the {Left} mouse button + LabelWithHighlight@DESC_ZOOM: + Y: 68 + Height: 16 + Font: Small + Text: - Zoom the battlefield using the {Scroll Wheel} + LabelWithHighlight@DESC_ZOOM_MODIFIER: + Y: 68 + Height: 16 + Font: Small + Text: - Zoom the battlefield using {MODIFIER + Scroll Wheel} + LabelWithHighlight@DESC_SCROLL_RIGHT: + Y: 85 + Height: 16 + Font: Small + Text: - Pan the battlefield using the {Right} mouse button + LabelWithHighlight@DESC_SCROLL_MIDDLE: + Y: 85 + Height: 16 + Font: Small + Text: - Pan the battlefield using the {Middle} mouse button + Label@DESC_EDGESCROLL: + X: 9 + Y: 102 + Height: 16 + Font: Small + Text: or by moving the cursor to the edge of the screen + Container@ROW: + Width: PARENT_RIGHT + Height: 20 + Children: + Container@EDGESCROLL_CHECKBOX_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@EDGESCROLL_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Screen Edge Panning + Container@SPACER: + Height: 30 + Background@SECTION_HEADER: + X: 5 + Width: PARENT_RIGHT - 10 + Height: 13 + Background: separator + Children: + Label@LABEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: TinyBold + Align: Center + Text: Display + Container@ROW: + Width: PARENT_RIGHT + Height: 50 + Children: + Container@BATTLEFIELD_CAMERA_DROPDOWN_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@BATTLEFIELD_CAMERA: + Width: PARENT_RIGHT + Height: 20 + Text: Battlefield Camera: + DropDownButton@BATTLEFIELD_CAMERA_DROPDOWN: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Container@UI_SCALE_DROPDOWN_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@UI_SCALE: + Width: PARENT_RIGHT + Height: 20 + Text: UI Scale: + DropDownButton@UI_SCALE_DROPDOWN: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Container@ROW: + Width: PARENT_RIGHT + Height: 20 + Children: + Container@CURSORDOUBLE_CHECKBOX_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@CURSORDOUBLE_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Increase Cursor Size Button@CONTINUE_BUTTON: X: PARENT_RIGHT - WIDTH Y: PARENT_BOTTOM - 1 diff --git a/mods/common/chrome/mainmenu-prompts.yaml b/mods/common/chrome/mainmenu-prompts.yaml index 13af0baec1..b71af97758 100644 --- a/mods/common/chrome/mainmenu-prompts.yaml +++ b/mods/common/chrome/mainmenu-prompts.yaml @@ -2,8 +2,8 @@ Background@MAINMENU_INTRODUCTION_PROMPT: Logic: IntroductionPromptLogic X: (WINDOW_RIGHT - WIDTH) / 2 Y: (WINDOW_BOTTOM - HEIGHT) / 2 - Width: 600 - Height: 430 + Width: 700 + Height: 525 Children: Label@PROMPT_TITLE: Width: PARENT_RIGHT @@ -26,222 +26,265 @@ Background@MAINMENU_INTRODUCTION_PROMPT: Font: Regular Align: Center Text: Additional options can be configured later from the Settings menu. - Label@PROFILE_TITLE: - Width: PARENT_RIGHT + ScrollPanel@SETTINGS_SCROLLPANEL: + X: 20 Y: 100 - Height: 25 - Font: Bold - Align: Center - Text: Profile - Label@PLAYER: - Text: Player Name: - X: 20 - Y: 130 - Width: 120 - Height: 25 - Align: Right - TextField@PLAYERNAME: - X: 145 - Y: 130 - Width: 160 - Height: 25 - MaxLength: 16 - Label@COLOR: - X: 265 + 60 - Y: 130 - Width: 145 - Height: 25 - Text: Preferred Color: - Align: Right - DropDownButton@PLAYERCOLOR: - X: 415 + 60 - Y: 130 - Width: 75 - Height: 25 - IgnoreChildMouseOver: true - PanelAlign: Right + Width: PARENT_RIGHT - 40 + Height: PARENT_BOTTOM - 155 + CollapseHiddenChildren: True + TopBottomSpacing: 5 + ItemSpacing: 10 + ScrollBar: Hidden Children: - ColorBlock@COLORBLOCK: + Background@SECTION_HEADER: X: 5 - Y: 6 - Width: PARENT_RIGHT - 35 - Height: PARENT_BOTTOM - 12 - Label@INPUT_TITLE: - Width: PARENT_RIGHT - Y: 160 - Height: 25 - Font: Bold - Align: Center - Text: Input - Label@MOUSE_CONTROL_LABEL: - X: 20 - Y: 190 - Width: 120 - Height: 25 - Font: Regular - Text: Control Scheme: - Align: Right - DropDownButton@MOUSE_CONTROL_DROPDOWN: - X: 145 - Y: 190 - Width: 160 - Height: 25 - Font: Regular - Checkbox@EDGESCROLL_CHECKBOX: - X: 365 - Y: 193 - Width: 180 - Height: 20 - Font: Regular - Text: Screen Edge Panning - Container@MOUSE_CONTROL_DESC_CLASSIC: - X: 25 - Y: 220 - Width: PARENT_RIGHT - 50 - Children: - LabelWithHighlight@DESC_SELECTION: - Height: 16 - Font: Small - Text: - Select units using the {Left} mouse button - LabelWithHighlight@DESC_COMMANDS: - Y: 17 - Height: 16 - Font: Small - Text: - Command units using the {Left} mouse button - LabelWithHighlight@DESC_BUILDIGS: - Y: 34 - Height: 16 - Font: Small - Text: - Place structures using the {Left} mouse button - LabelWithHighlight@DESC_SUPPORT: - X: 265 - Height: 16 - Font: Small - Text: - Target support powers using the {Left} mouse button - LabelWithHighlight@DESC_ZOOM: - X: 265 - Y: 17 - Height: 16 - Font: Small - Text: - Zoom the battlefield using the {Scroll Wheel} - LabelWithHighlight@DESC_ZOOM_MODIFIER: - X: 265 - Y: 17 - Height: 16 - Font: Small - Text: - Zoom the battlefield using {MODIFIER + Scroll Wheel} - LabelWithHighlight@DESC_SCROLL_RIGHT: - X: 265 - Y: 34 - Height: 16 - Font: Small - Text: - Pan the battlefield using the {Right} mouse button - LabelWithHighlight@DESC_SCROLL_MIDDLE: - X: 265 - Y: 34 - Height: 16 - Font: Small - Text: - Pan the battlefield using the {Middle} mouse button - Label@DESC_EDGESCROLL: - X: 274 - Y: 51 - Height: 16 - Font: Small - Text: or by moving the cursor to the edge of the screen - Container@MOUSE_CONTROL_DESC_MODERN: - X: 25 - Y: 220 - Width: PARENT_RIGHT - 50 - Children: - LabelWithHighlight@DESC_SELECTION: - Height: 16 - Font: Small - Text: - Select units using the {Left} mouse button - LabelWithHighlight@DESC_COMMANDS: - Y: 17 - Height: 16 - Font: Small - Text: - Command units using the {Right} mouse button - LabelWithHighlight@DESC_BUILDIGS: - Y: 34 - Height: 16 - Font: Small - Text: - Place structures using the {Left} mouse button - LabelWithHighlight@DESC_SUPPORT: - X: 265 - Height: 16 - Font: Small - Text: - Target support powers using the {Left} mouse button - LabelWithHighlight@DESC_ZOOM: - X: 265 - Y: 17 - Height: 16 - Font: Small - Text: - Zoom the battlefield using the {Scroll Wheel} - LabelWithHighlight@DESC_ZOOM_MODIFIER: - X: 265 - Y: 17 - Height: 16 - Font: Small - Text: - Zoom the battlefield using {MODIFIER + Scroll Wheel} - LabelWithHighlight@DESC_SCROLL_RIGHT: - X: 265 - Y: 34 - Height: 16 - Font: Small - Text: - Pan the battlefield using the {Right} mouse button - LabelWithHighlight@DESC_SCROLL_MIDDLE: - X: 265 - Y: 34 - Height: 16 - Font: Small - Text: - Pan the battlefield using the {Middle} mouse button - Label@DESC_EDGESCROLL: - X: 274 - Y: 51 - Height: 16 - Font: Small - Text: or by moving the cursor to the edge of the screen - Label@INPUT_TITLE: - Width: PARENT_RIGHT - Y: 290 - Height: 25 - Font: Bold - Align: Center - Text: Display - Label@BATTLEFIELD_CAMERA: - X: 20 - Y: 320 - Width: 120 - Height: 25 - Text: Battlefield Camera: - Align: Right - DropDownButton@BATTLEFIELD_CAMERA_DROPDOWN: - X: 145 - Y: 320 - Width: 160 - Height: 25 - Font: Regular - Label@UI_SCALE: - X: 270 - Y: 320 - Width: 145 - Height: 25 - Text: UI Scale: - Align: Right - DropDownButton@UI_SCALE_DROPDOWN: - X: 420 - Y: 320 - Width: 160 - Height: 25 - Font: Regular - Checkbox@CURSORDOUBLE_CHECKBOX: - X: 390 - Y: 353 - Width: 200 - Height: 20 - Font: Regular - Text: Increase Cursor Size + Width: PARENT_RIGHT - 10 + Height: 13 + Background: separator + Children: + Label@LABEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: TinyBold + Align: Center + Text: Profile + Container@ROW: + Width: PARENT_RIGHT + Height: 50 + Children: + Container@PLAYER_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@PLAYER: + Width: PARENT_RIGHT + Height: 20 + Text: Player Name: + TextField@PLAYERNAME: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + MaxLength: 16 + Text: Name + Container@PLAYERCOLOR_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@COLOR: + Width: PARENT_RIGHT + Height: 20 + Text: Preferred Color: + DropDownButton@PLAYERCOLOR: + Y: 25 + Width: 75 + Height: 25 + IgnoreChildMouseOver: true + PanelAlign: Right + Children: + ColorBlock@COLORBLOCK: + X: 5 + Y: 6 + Width: PARENT_RIGHT - 35 + Height: PARENT_BOTTOM - 12 + Container@SPACER: + Background@SECTION_HEADER: + X: 5 + Width: PARENT_RIGHT - 10 + Height: 13 + Background: separator + Children: + Label@LABEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: TinyBold + Align: Center + Text: Input + Container@ROW: + Width: PARENT_RIGHT + Height: 50 + Children: + Container@MOUSE_CONTROL_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@MOUSE_CONTROL_LABEL: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Control Scheme: + DropDownButton@MOUSE_CONTROL_DROPDOWN: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Container@MOUSE_CONTROL_DESC_CLASSIC: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + LabelWithHighlight@DESC_SELECTION: + Height: 16 + Font: Small + Text: - Select units using the {Left} mouse button + LabelWithHighlight@DESC_COMMANDS: + Y: 17 + Height: 16 + Font: Small + Text: - Command units using the {Left} mouse button + LabelWithHighlight@DESC_BUILDIGS: + Y: 34 + Height: 16 + Font: Small + Text: - Place structures using the {Left} mouse button + LabelWithHighlight@DESC_SUPPORT: + Y: 51 + Height: 16 + Font: Small + Text: - Target support powers using the {Left} mouse button + LabelWithHighlight@DESC_ZOOM: + Y: 68 + Height: 16 + Font: Small + Text: - Zoom the battlefield using the {Scroll Wheel} + LabelWithHighlight@DESC_ZOOM_MODIFIER: + Y: 68 + Height: 16 + Font: Small + Text: - Zoom the battlefield using {MODIFIER + Scroll Wheel} + LabelWithHighlight@DESC_SCROLL_RIGHT: + Y: 85 + Height: 16 + Font: Small + Text: - Pan the battlefield using the {Right} mouse button + LabelWithHighlight@DESC_SCROLL_MIDDLE: + Y: 85 + Height: 16 + Font: Small + Text: - Pan the battlefield using the {Middle} mouse button + Label@DESC_EDGESCROLL: + X: 9 + Y: 102 + Height: 16 + Font: Small + Text: or by moving the cursor to the edge of the screen + Container@MOUSE_CONTROL_DESC_MODERN: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + LabelWithHighlight@DESC_SELECTION: + Height: 16 + Font: Small + Text: - Select units using the {Left} mouse button + LabelWithHighlight@DESC_COMMANDS: + Y: 17 + Height: 16 + Font: Small + Text: - Command units using the {Right} mouse button + LabelWithHighlight@DESC_BUILDIGS: + Y: 34 + Height: 16 + Font: Small + Text: - Place structures using the {Left} mouse button + LabelWithHighlight@DESC_SUPPORT: + Y: 51 + Height: 16 + Font: Small + Text: - Target support powers using the {Left} mouse button + LabelWithHighlight@DESC_ZOOM: + Y: 68 + Height: 16 + Font: Small + Text: - Zoom the battlefield using the {Scroll Wheel} + LabelWithHighlight@DESC_ZOOM_MODIFIER: + Y: 68 + Height: 16 + Font: Small + Text: - Zoom the battlefield using {MODIFIER + Scroll Wheel} + LabelWithHighlight@DESC_SCROLL_RIGHT: + Y: 85 + Height: 16 + Font: Small + Text: - Pan the battlefield using the {Right} mouse button + LabelWithHighlight@DESC_SCROLL_MIDDLE: + Y: 85 + Height: 16 + Font: Small + Text: - Pan the battlefield using the {Middle} mouse button + Label@DESC_EDGESCROLL: + X: 9 + Y: 102 + Height: 16 + Font: Small + Text: or by moving the cursor to the edge of the screen + Container@ROW: + Width: PARENT_RIGHT + Height: 20 + Children: + Container@EDGESCROLL_CHECKBOX_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@EDGESCROLL_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Screen Edge Panning + Container@SPACER: + Height: 30 + Background@SECTION_HEADER: + X: 5 + Width: PARENT_RIGHT - 10 + Height: 13 + Background: separator + Children: + Label@LABEL: + Width: PARENT_RIGHT + Height: PARENT_BOTTOM + Font: TinyBold + Align: Center + Text: Display + Container@ROW: + Width: PARENT_RIGHT + Height: 50 + Children: + Container@BATTLEFIELD_CAMERA_DROPDOWN_CONTAINER: + X: 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@BATTLEFIELD_CAMERA: + Width: PARENT_RIGHT + Height: 20 + Text: Battlefield Camera: + DropDownButton@BATTLEFIELD_CAMERA_DROPDOWN: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Container@UI_SCALE_DROPDOWN_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Label@UI_SCALE: + Width: PARENT_RIGHT + Height: 20 + Text: UI Scale: + DropDownButton@UI_SCALE_DROPDOWN: + Y: 25 + Width: PARENT_RIGHT + Height: 25 + Font: Regular + Container@ROW: + Width: PARENT_RIGHT + Height: 20 + Children: + Container@CURSORDOUBLE_CHECKBOX_CONTAINER: + X: PARENT_RIGHT / 2 + 10 + Width: PARENT_RIGHT / 2 - 20 + Children: + Checkbox@CURSORDOUBLE_CHECKBOX: + Width: PARENT_RIGHT + Height: 20 + Font: Regular + Text: Increase Cursor Size Button@CONTINUE_BUTTON: X: PARENT_RIGHT - 180 Y: PARENT_BOTTOM - 45