From 5a3eac99d6c26e6cf4c82bc523cc2a5624bd0cab Mon Sep 17 00:00:00 2001 From: Evan Husted Date: Sun, 2 Mar 2025 17:50:40 -0600 Subject: [PATCH] change all grid RowDefinitions/ColumnDefinitions to direct property setters --- .../UI/Applet/ProfileSelectorDialog.axaml | 8 +--- .../UI/Controls/ApplicationGridView.axaml | 11 +---- .../UI/Controls/ApplicationListView.axaml | 5 +-- .../UI/Controls/UpdateWaitWindow.axaml | 10 +---- .../UI/Views/Input/ControllerInputView.axaml | 45 +++---------------- src/Ryujinx/UI/Views/Input/InputView.axaml | 42 +++-------------- .../UI/Views/Input/KeyboardInputView.axaml | 27 ++--------- .../UI/Views/Input/MotionInputView.axaml | 22 ++------- .../UI/Views/Input/RumbleInputView.axaml | 6 +-- .../UI/Views/Settings/SettingsInputView.axaml | 7 +-- .../UI/Views/Settings/SettingsUIView.axaml | 14 +----- .../UI/Views/User/UserEditorView.axaml | 10 +---- .../User/UserFirmwareAvatarSelectorView.axaml | 8 +--- .../User/UserProfileImageSelectorView.axaml | 7 +-- .../UI/Views/User/UserRecovererView.axaml | 12 +---- .../UI/Views/User/UserSaveManagerView.axaml | 25 ++--------- .../UI/Views/User/UserSelectorView.axaml | 6 +-- .../Windows/GameSpecificSettingsWindow.axaml | 16 +++---- src/Ryujinx/UI/Windows/ModManagerWindow.axaml | 6 +-- src/Ryujinx/UI/Windows/XCITrimmerWindow.axaml | 44 +++--------------- 20 files changed, 50 insertions(+), 281 deletions(-) diff --git a/src/Ryujinx/UI/Applet/ProfileSelectorDialog.axaml b/src/Ryujinx/UI/Applet/ProfileSelectorDialog.axaml index d929cc501..20d466031 100644 --- a/src/Ryujinx/UI/Applet/ProfileSelectorDialog.axaml +++ b/src/Ryujinx/UI/Applet/ProfileSelectorDialog.axaml @@ -17,12 +17,8 @@ - - - - - - + + - - - - + - - - - - + - - - - + - - - - - - - - + VerticalAlignment="Stretch" ColumnDefinitions="Auto,*" RowDefinitions="Auto,Auto"> - - - - - + MinHeight="450" ColumnDefinitions="Auto,*,Auto"> - - - - - - - - + HorizontalAlignment="Stretch" ColumnDefinitions="*,*" RowDefinitions="*,*"> - - - - - + - - - - - + - - - - - + - - - - - - - - + HorizontalAlignment="Stretch" ColumnDefinitions="*,*" RowDefinitions="*,*"> - - - - - - + - - - - + VerticalAlignment="Center" ColumnDefinitions="Auto,*"> - - - - - - - + VerticalAlignment="Center" ColumnDefinitions="Auto,*,Auto,Auto,Auto"> - - - - - - + - - - - - + HorizontalAlignment="Stretch" ColumnDefinitions="Auto,*,Auto"> - - - - + VerticalAlignment="Center" ColumnDefinitions="Auto,*"> - - - - - + MinHeight="450" ColumnDefinitions="Auto,*,Auto"> - - - - - - - - + HorizontalAlignment="Stretch" ColumnDefinitions="*,*" RowDefinitions="*,*"> - - - - - - - - + HorizontalAlignment="Stretch" ColumnDefinitions="*,*" RowDefinitions="*,*"> - - - - - + - - - - - + - - - - - - - - - + - - - - - + - - - - - - + diff --git a/src/Ryujinx/UI/Views/Settings/SettingsUIView.axaml b/src/Ryujinx/UI/Views/Settings/SettingsUIView.axaml index 2a46dcf49..7dd5211a7 100644 --- a/src/Ryujinx/UI/Views/Settings/SettingsUIView.axaml +++ b/src/Ryujinx/UI/Views/Settings/SettingsUIView.axaml @@ -177,12 +177,7 @@ - - - - - - + - - - - - - + - - - - - - - - - + - - - - - - + VerticalAlignment="Stretch" RowDefinitions="Auto,*,Auto,Auto"> - - - - - + VerticalAlignment="Center" RowDefinitions="Auto,70,Auto"> - - - - + VerticalAlignment="Stretch" RowDefinitions="*,Auto"> - - - - - + - - - - - - + - - - - + HorizontalAlignment="Stretch" ColumnDefinitions="Auto,*"> - - - - + Margin="10,0, 0, 0" ColumnDefinitions="Auto,*">