|
6 | 6 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
7 | 7 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
8 | 8 | xmlns:vm="using:HedgeModManager.UI.ViewModels" |
9 | | - mc:Ignorable="d" d:DesignWidth="1168" d:DesignHeight="1000" |
| 9 | + mc:Ignorable="d" d:DesignWidth="1168" d:DesignHeight="1200" |
10 | 10 | x:Class="HedgeModManager.UI.Controls.Settings.Settings" |
11 | 11 | x:DataType="vm:MainWindowViewModel" |
12 | 12 | Loaded="OnLoaded" |
|
25 | 25 | Title="{DynamicResource Settings.Title.Profile}" |
26 | 26 | Description="{DynamicResource Settings.Description.Profile}"> |
27 | 27 | <cs:SettingsEntry.Data> |
28 | | - <ComboBox MinWidth="220" |
| 28 | + <ComboBox MinWidth="240" |
29 | 29 | ItemsSource="{Binding Profiles}" |
30 | 30 | SelectedItem="{Binding ViewModel.SelectedProfile, RelativeSource={RelativeSource AncestorType=cs:Settings}}" |
31 | 31 | SelectionChanged="OnProfileSelectionChanged" |
|
38 | 38 | Description="{Binding ViewModel.ModsDirectory, RelativeSource={RelativeSource AncestorType=cs:Settings}}"> |
39 | 39 | <cs:SettingsEntry.Data> |
40 | 40 | <StackPanel Orientation="Horizontal" Spacing="10"> |
41 | | - <cb:Button MinWidth="105" |
| 41 | + <cb:Button MinWidth="115" |
42 | 42 | Text="{DynamicResource Settings.Button.ChangeModsDir}" |
43 | 43 | VerticalContentAlignment="Center" |
44 | 44 | Click="OnModsDirectoryChangeClick" /> |
45 | | - <cb:Button MinWidth="105" |
| 45 | + <cb:Button MinWidth="115" |
46 | 46 | Text="{DynamicResource Settings.Button.OpenModsDir}" |
47 | 47 | VerticalContentAlignment="Center" |
48 | 48 | Click="OnModsDirClick" /> |
|
54 | 54 | Description="{Binding ViewModel.ModLoaderDescription, RelativeSource={RelativeSource AncestorType=cs:Settings}}"> |
55 | 55 | <cs:SettingsEntry.Data> |
56 | 56 | <StackPanel Orientation="Horizontal"> |
57 | | - <cb:Button MinWidth="105" |
58 | | - Margin="0,0,35,0" FontSize="14" |
| 57 | + <cb:Button MinWidth="115" |
| 58 | + Margin="0,0,45,0" FontSize="14" |
59 | 59 | IsVisible="{Binding ViewModel.InstallModLoaderText, RelativeSource={RelativeSource AncestorType=cs:Settings}, Converter={StaticResource EmptyBoolConverter}, ConverterParameter={x:True}}" |
60 | 60 | Text="{Binding ViewModel.InstallModLoaderText, RelativeSource={RelativeSource AncestorType=cs:Settings}}" |
61 | 61 | Click="OnInstallMLClick"/> |
|
91 | 91 | Description="{DynamicResource Settings.Description.Proton}"> |
92 | 92 | <cs:SettingsEntry.Data> |
93 | 93 | <StackPanel Orientation="Horizontal" Spacing="10"> |
94 | | - <cb:Button MinWidth="105" |
| 94 | + <cb:Button MinWidth="115" |
95 | 95 | Text="{DynamicResource Settings.Button.ClearPrefix}" |
96 | 96 | VerticalContentAlignment="Center" |
97 | 97 | IsEnabled="{Binding IsBusy, Converter={StaticResource InvertedBoolConverter}}" |
98 | 98 | Click="OnPrefixClearClick" /> |
99 | | - <cb:Button MinWidth="105" |
| 99 | + <cb:Button MinWidth="115" |
100 | 100 | Text="{DynamicResource Settings.Button.ReinstallRuntime}" |
101 | 101 | VerticalContentAlignment="Center" |
102 | 102 | IsEnabled="{Binding IsBusy, Converter={StaticResource InvertedBoolConverter}}" |
103 | 103 | Click="OnPrefixReinstallClick" /> |
104 | | - <cb:Button MinWidth="105" |
| 104 | + <cb:Button MinWidth="115" |
105 | 105 | Text="{DynamicResource Settings.Button.OpenPrefixDir}" |
106 | 106 | VerticalContentAlignment="Center" |
107 | 107 | Click="OnPrefixOpenClick" /> |
|
120 | 120 | Description="{DynamicResource Settings.Description.UpdateManager}"> |
121 | 121 | <cs:SettingsEntry.Data> |
122 | 122 | <StackPanel Orientation="Horizontal"> |
123 | | - <cb:Button MinWidth="105" |
124 | | - Margin="0,0,35,0" FontSize="14" |
| 123 | + <cb:Button MinWidth="115" |
| 124 | + Margin="0,0,45,0" FontSize="14" |
125 | 125 | Text="{Binding ViewModel.CheckManagerUpdatesText, RelativeSource={RelativeSource AncestorType=cs:Settings}, Converter={StaticResource StringLocalizeConverter}}" |
126 | 126 | Click="OnCheckManagerUpdatesClick"/> |
127 | 127 | <ToggleSwitch Margin="0,0,10,0" IsChecked="{Binding Config.CheckManagerUpdates}" /> |
|
133 | 133 | Description="{DynamicResource Settings.Description.UpdateML}"> |
134 | 134 | <cs:SettingsEntry.Data> |
135 | 135 | <StackPanel Orientation="Horizontal"> |
136 | | - <cb:Button MinWidth="105" |
137 | | - Margin="0,0,35,0" FontSize="14" |
| 136 | + <cb:Button MinWidth="115" |
| 137 | + Margin="0,0,45,0" FontSize="14" |
138 | 138 | IsVisible="{Binding ViewModel.HasModLoader, RelativeSource={RelativeSource AncestorType=cs:Settings}}" |
139 | 139 | Text="{Binding ViewModel.CheckLoaderUpdatesText, RelativeSource={RelativeSource AncestorType=cs:Settings}, Converter={StaticResource StringLocalizeConverter}}" |
140 | 140 | Click="OnCheckModLoaderUpdatesClick"/> |
|
147 | 147 | Description="{DynamicResource Settings.Description.UpdateMod}"> |
148 | 148 | <cs:SettingsEntry.Data> |
149 | 149 | <StackPanel Orientation="Horizontal"> |
150 | | - <cb:Button MinWidth="105" |
151 | | - Margin="0,0,35,0" FontSize="14" |
| 150 | + <cb:Button MinWidth="115" |
| 151 | + Margin="0,0,45,0" FontSize="14" |
152 | 152 | Text="{Binding ViewModel.CheckModUpdatesText, RelativeSource={RelativeSource AncestorType=cs:Settings}, Converter={StaticResource StringLocalizeConverter}}" |
153 | 153 | Click="OnCheckModUpdatesClick"/> |
154 | 154 | <ToggleSwitch Margin="0,0,10,0" IsChecked="{Binding Config.CheckModUpdates}" /> |
|
160 | 160 | Description="{DynamicResource Settings.Description.UpdateCodes}"> |
161 | 161 | <cs:SettingsEntry.Data> |
162 | 162 | <StackPanel Orientation="Horizontal"> |
163 | | - <cb:Button MinWidth="105" |
164 | | - Margin="0,0,35,0" FontSize="14" |
| 163 | + <cb:Button MinWidth="115" |
| 164 | + Margin="0,0,45,0" FontSize="14" |
165 | 165 | Text="{Binding ViewModel.CheckCodeUpdatesText, RelativeSource={RelativeSource AncestorType=cs:Settings}, Converter={StaticResource StringLocalizeConverter}}" |
166 | 166 | Click="OnCheckCodeUpdatesClick"/> |
167 | 167 | <ToggleSwitch Margin="0,0,10,0" IsChecked="{Binding Config.CheckCodeUpdates}" /> |
|
171 | 171 | <cs:SettingsEntry Icon="Palette" |
172 | 172 | Title="{DynamicResource Settings.Title.Theme}"> |
173 | 173 | <cs:SettingsEntry.Data> |
174 | | - <ComboBox MinWidth="220" |
| 174 | + <ComboBox MinWidth="240" |
175 | 175 | ItemsSource="{Binding ViewModel.ThemeCollection, RelativeSource={RelativeSource AncestorType=cs:Settings}}" |
176 | 176 | SelectedValue="{Binding ViewModel.SelectedTheme, RelativeSource={RelativeSource AncestorType=cs:Settings}}" |
177 | 177 | SelectionChanged="OnThemeSelectionChanged" |
|
188 | 188 | <cs:SettingsEntry Icon="Translate" |
189 | 189 | Title="{DynamicResource Settings.Title.Language}"> |
190 | 190 | <cs:SettingsEntry.Data> |
191 | | - <ComboBox MinWidth="220" |
| 191 | + <ComboBox MinWidth="240" |
192 | 192 | ItemsSource="{Binding Languages}" |
193 | 193 | SelectedItem="{Binding ViewModel.SelectedLanguage, RelativeSource={RelativeSource AncestorType=cs:Settings}}" |
194 | 194 | SelectionChanged="OnLanguageSelectionChanged" |
|
0 commit comments