|
57 | 57 | <controls:SettingsExpander.Items> |
58 | 58 |
|
59 | 59 | <controls:SettingsCard x:Uid="Settings_Theme" HorizontalContentAlignment="Left" ContentAlignment="Vertical" Description=""> |
60 | | - <StackPanel Orientation="Horizontal" Spacing="24"> |
| 60 | + <StackPanel Orientation="Horizontal" Spacing="24" Margin="0,6,0,12"> |
61 | 61 |
|
62 | 62 | <RadioButton x:Uid="Settings_Theme_Light" IsEnabled="{x:Bind ViewModel.IsBackdropEnabled, Mode=OneWay}" Command="{x:Bind ViewModel.SwitchThemeCommand}" IsChecked="{x:Bind ViewModel.Theme, Converter={StaticResource ElementThemeEnumToBooleanConverter}, ConverterParameter=Light, Mode=OneWay}" FontSize="15" GroupName="AppTheme"> |
63 | 63 | <RadioButton.CommandParameter> |
|
79 | 79 |
|
80 | 80 | <controls:SettingsCard x:Uid="Settings_SystemBackdrop" HorizontalContentAlignment="Left" ContentAlignment="Vertical" Description=""> |
81 | 81 |
|
82 | | - <StackPanel Orientation="Horizontal" Spacing="24"> |
| 82 | + <StackPanel Orientation="Horizontal" Spacing="24" Margin="0,6,0,12"> |
83 | 83 |
|
84 | 84 | <RadioButton x:Uid="Settings_SystemBackdrop_Acrylic" IsEnabled="{x:Bind ViewModel.IsAcrylicSupported,Mode=OneWay}" Command="{x:Bind ViewModel.SwitchSystemBackdropCommand}" CommandParameter="Acrylic" IsChecked="{x:Bind ViewModel.Material, Converter={StaticResource SystemBackdropEnumToBooleanConverter}, ConverterParameter=Acrylic, Mode=OneWay}" FontSize="15" GroupName="AppMaterial"/> |
85 | 85 | <RadioButton x:Uid="Settings_SystemBackdrop_Mica" IsEnabled="{x:Bind ViewModel.IsMicaSupported,Mode=OneWay}" Command="{x:Bind ViewModel.SwitchSystemBackdropCommand}" CommandParameter="Mica" IsChecked="{x:Bind ViewModel.Material, Converter={StaticResource SystemBackdropEnumToBooleanConverter}, ConverterParameter=Mica, Mode=OneWay}" FontSize="15" GroupName="AppMaterial"/> |
|
102 | 102 | <TextBlock Text="{x:Bind ViewModel.ShortStatusWithMpdVersion, Mode=OneWay}"></TextBlock> |
103 | 103 |
|
104 | 104 | <controls:SettingsExpander.Items> |
105 | | - <controls:SettingsCard HorizontalContentAlignment="Stretch" ContentAlignment="Vertical" Header="@Connection Profile"> |
| 105 | + <controls:SettingsCard Header="" Description="" HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> |
106 | 106 |
|
107 | 107 | <Grid> |
108 | 108 | <Grid.ColumnDefinitions> |
109 | 109 | <ColumnDefinition Width="Auto"></ColumnDefinition> |
110 | 110 | <ColumnDefinition Width="*"></ColumnDefinition> |
111 | 111 | </Grid.ColumnDefinitions> |
112 | 112 |
|
113 | | - <StackPanel Grid.Column="0" Spacing="12" Orientation="Horizontal" HorizontalAlignment="Left"> |
| 113 | + <StackPanel Grid.Column="0" Spacing="12" Margin="0,12,0,12" Orientation="Horizontal" HorizontalAlignment="Left"> |
114 | 114 |
|
115 | 115 | <ComboBox PlaceholderText="" MinWidth="300" Margin="0,0,0,0" SelectedIndex="-1" VerticalAlignment="Center" |
116 | 116 | ItemsSource="{x:Bind ViewModel.Profiles, Mode=OneWay}" SelectedItem="{x:Bind ViewModel.SelectedProfile, Mode=TwoWay}"> |
|
126 | 126 | </ComboBox.ItemTemplate> |
127 | 127 | </ComboBox> |
128 | 128 |
|
129 | | - <Button Command="{x:Bind ViewModel.ShowProfileAddDialogCommand}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="39" Height="36"> |
| 129 | + <Button Command="{x:Bind ViewModel.ShowProfileAddDialogCommand}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="39" Height="36" Margin="0,12,0,12"> |
130 | 130 | <Viewbox Width="14" Height="14" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,2,0,0"> |
131 | 131 | <PathIcon Width="NaN" Height="NaN" Data="M11.883 3.007 12 3a1 1 0 0 1 .993.883L13 4v7h7a1 1 0 0 1 .993.883L21 12a1 1 0 0 1-.883.993L20 13h-7v7a1 1 0 0 1-.883.993L12 21a1 1 0 0 1-.993-.883L11 20v-7H4a1 1 0 0 1-.993-.883L3 12a1 1 0 0 1 .883-.993L4 11h7V4a1 1 0 0 1 .883-.993L12 3l-.117.007Z"></PathIcon> |
132 | 132 | </Viewbox> |
133 | 133 | </Button> |
134 | | - |
135 | | - <Button Command="{x:Bind ViewModel.ShowProfileEditDialogCommand}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="39" Height="36"> |
| 134 | + |
| 135 | + <Button Command="{x:Bind ViewModel.ShowProfileEditDialogCommand}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="39" Height="36" Margin="0,12,0,12"> |
136 | 136 | <Viewbox Width="14" Height="14" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,2,0,0"> |
137 | 137 | <PathIcon Width="NaN" Height="NaN" Data="m13.94 5 5.061 5.06-.962.962a6.5 6.5 0 0 0-7.016 7.016l-1.96 1.96a2.25 2.25 0 0 1-1 .58l-5.115 1.395a.75.75 0 0 1-.92-.92l1.394-5.116a2.25 2.25 0 0 1 .58-1L13.94 5Zm7.091-2.03a3.579 3.579 0 0 1 0 5.06l-.97.97L15 3.94l.97-.97a3.578 3.578 0 0 1 5.061 0ZM14.28 13.974a2 2 0 0 1-1.441 2.497l-.584.144a5.729 5.729 0 0 0 .006 1.807l.54.13a2 2 0 0 1 1.45 2.51l-.187.632c.44.386.94.699 1.484.921l.494-.518a2 2 0 0 1 2.899 0l.498.525a5.28 5.28 0 0 0 1.483-.913l-.198-.686a2 2 0 0 1 1.442-2.496l.583-.144a5.729 5.729 0 0 0-.006-1.808l-.54-.13a2 2 0 0 1-1.45-2.51l.187-.63a5.28 5.28 0 0 0-1.484-.923l-.493.519a2 2 0 0 1-2.9 0l-.498-.525c-.544.22-1.044.53-1.483.912l.198.686ZM17.501 19c-.8 0-1.45-.672-1.45-1.5 0-.829.65-1.5 1.45-1.5.8 0 1.45.671 1.45 1.5 0 .828-.65 1.5-1.45 1.5Z"></PathIcon> |
138 | 138 | </Viewbox> |
139 | 139 | </Button> |
140 | 140 |
|
141 | | - <Button Command="{x:Bind ViewModel.ShowProfileRemoveNoneDialogCommand}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="39" Height="36"> |
| 141 | + <Button Command="{x:Bind ViewModel.ShowProfileRemoveNoneDialogCommand}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="39" Height="36" Margin="0,12,0,12"> |
142 | 142 | <Viewbox Width="14" Height="14" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,2,0,0"> |
143 | 143 | <PathIcon Width="NaN" Height="NaN" Data="M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2Zm-4.25 9.25a.75.75 0 0 0-.102 1.493l.102.007h8.5a.75.75 0 0 0 .102-1.493l-.102-.007h-8.5Z"></PathIcon> |
144 | 144 | </Viewbox> |
|
154 | 154 |
|
155 | 155 | </controls:SettingsCard> |
156 | 156 |
|
157 | | - <controls:SettingsCard Header="afd" HorizontalContentAlignment="Left" ContentAlignment="Vertical" Description="fddfasa"> |
158 | | - <CheckBox x:Uid="Settings_MPD_Opts_UpdateDatabaseOnStartup" IsChecked="{x:Bind ViewModel.IsUpdateOnStartup, Mode=TwoWay}"/> |
| 157 | + <controls:SettingsCard Header="" Description="" HorizontalContentAlignment="Left" ContentAlignment="Vertical"> |
| 158 | + <CheckBox x:Uid="Settings_MPD_Opts_UpdateDatabaseOnStartup" IsChecked="{x:Bind ViewModel.IsUpdateOnStartup, Mode=TwoWay}" Margin="0,12,0,12"/> |
159 | 159 | </controls:SettingsCard> |
160 | 160 |
|
161 | | - <controls:SettingsCard Header="asdfsadf" HorizontalContentAlignment="Left" ContentAlignment="Vertical" Description="fdasa"> |
162 | | - <CheckBox x:Uid="Settings_MPD_Opts_UseReadPicture" IsChecked="{x:Bind ViewModel.IsDownloadAlbumArtEmbeddedUsingReadPicture, Mode=TwoWay}"/> |
| 161 | + <controls:SettingsCard Header="" Description="" HorizontalContentAlignment="Left" ContentAlignment="Vertical"> |
| 162 | + <CheckBox x:Uid="Settings_MPD_Opts_UseReadPicture" IsChecked="{x:Bind ViewModel.IsDownloadAlbumArtEmbeddedUsingReadPicture, Mode=TwoWay}" Margin="0,12,0,12"/> |
163 | 163 | </controls:SettingsCard> |
164 | 164 |
|
165 | 165 | </controls:SettingsExpander.Items> |
|
173 | 173 | IsEnabled="True" |
174 | 174 | IsExpanded="False"> |
175 | 175 | <controls:SettingsExpander.Items> |
176 | | - |
177 | | - <controls:SettingsCard Header="afd" HorizontalContentAlignment="Left" ContentAlignment="Vertical" Description="fddfasa"> |
178 | | - <CheckBox x:Uid="Settings_Opts_AutoScrollToNowPlaying" IsChecked="{x:Bind ViewModel.IsAutoScrollToNowPlaying, Mode=TwoWay}"/> |
179 | | - </controls:SettingsCard> |
| 176 | + <controls:SettingsCard Header="" Description="" HorizontalContentAlignment="Left" ContentAlignment="Vertical"> |
| 177 | + <CheckBox x:Uid="Settings_Opts_AutoScrollToNowPlaying" IsChecked="{x:Bind ViewModel.IsAutoScrollToNowPlaying, Mode=TwoWay}" Margin="0,12,0,12"/> |
| 178 | + </controls:SettingsCard> |
180 | 179 |
|
181 | 180 | </controls:SettingsExpander.Items> |
182 | 181 | </controls:SettingsExpander> |
183 | 182 |
|
184 | | - <!-- Local strage usage --> |
185 | | - <controls:SettingsExpander x:Name="SettingsCardLocalStrage" |
| 183 | + <!-- Local storage usage --> |
| 184 | + <controls:SettingsExpander x:Name="SettingsCardLocalStorage" |
186 | 185 | VerticalAlignment="Top" |
187 | | - x:Uid="Settings_LocalStrage" |
| 186 | + x:Uid="Settings_LocalStorage" |
188 | 187 | IsEnabled="True" |
189 | 188 | IsExpanded="False"> |
190 | 189 | <controls:SettingsExpander.Items> |
191 | 190 |
|
192 | | - <controls:SettingsCard Header="afd" HorizontalContentAlignment="Stretch" ContentAlignment="Vertical" Description="fddfasa"> |
193 | | - <Grid> |
| 191 | + <controls:SettingsCard Header="" Description="" HorizontalContentAlignment="Stretch" ContentAlignment="Vertical"> |
| 192 | + <Grid Margin="0,12,0,12"> |
194 | 193 | <Grid.ColumnDefinitions> |
195 | 194 | <ColumnDefinition Width="Auto"></ColumnDefinition> |
196 | 195 | <ColumnDefinition Width="*"></ColumnDefinition> |
|
212 | 211 | <controls:SettingsExpander x:Uid="Settings_ProjectPage"> |
213 | 212 | <controls:SettingsExpander.Items> |
214 | 213 | <controls:SettingsCard Header="Project Page" HorizontalContentAlignment="Stretch" ContentAlignment="Vertical" Description="@Github"> |
215 | | - <HyperlinkButton NavigateUri="https://github.com/torum/MPDCtrl">https://github.com/torum/MPDCtrl</HyperlinkButton> |
| 214 | + <HyperlinkButton NavigateUri="https://github.com/torum/MPDCtrl/">https://github.com/torum/MPDCtrl/</HyperlinkButton> |
216 | 215 | </controls:SettingsCard> |
217 | 216 | <controls:SettingsCard Header="App Page" HorizontalContentAlignment="Stretch" ContentAlignment="Vertical" Description="@Github"> |
218 | 217 | <HyperlinkButton NavigateUri="https://torum.github.io/MPDCtrl/">https://torum.github.io/MPDCtrl/</HyperlinkButton> |
|
228 | 227 |
|
229 | 228 | <controls:SettingsExpander.Items> |
230 | 229 | <controls:SettingsCard Header="The MIT License" HorizontalContentAlignment="Stretch" ContentAlignment="Vertical" Description="Copyright (c) 2018~ torum"> |
231 | | - <TextBlock x:Uid="Settings_LicenseText" TextWrapping="Wrap"></TextBlock> |
| 230 | + <TextBlock x:Uid="Settings_LicenseText" TextWrapping="Wrap" Margin="0,12,0,12"></TextBlock> |
232 | 231 | </controls:SettingsCard> |
233 | 232 | </controls:SettingsExpander.Items> |
234 | 233 |
|
|
239 | 238 |
|
240 | 239 | <controls:SettingsExpander.Items> |
241 | 240 | <controls:SettingsCard Header="" HorizontalContentAlignment="Stretch" ContentAlignment="Vertical" Description=""> |
242 | | - <TextBlock x:Uid="Settings_PrivacyPolicyText" TextWrapping="Wrap"></TextBlock> |
| 241 | + <TextBlock x:Uid="Settings_PrivacyPolicyText" TextWrapping="Wrap" Margin="0,12,0,12"></TextBlock> |
243 | 242 | </controls:SettingsCard> |
244 | 243 | </controls:SettingsExpander.Items> |
245 | 244 |
|
|
250 | 249 |
|
251 | 250 | <controls:SettingsExpander.Items> |
252 | 251 | <controls:SettingsCard Header="Microsoft" HorizontalContentAlignment="Stretch" ContentAlignment="Vertical" Description="The MIT License"> |
253 | | - <StackPanel Spacing="12"> |
| 252 | + <StackPanel Spacing="12" Margin="0,12,0,12"> |
254 | 253 | <HyperlinkButton NavigateUri="https://github.com/CommunityToolkit/Windows">CommunityToolkit.Mvvm/WinUI</HyperlinkButton> |
255 | 254 | <HyperlinkButton NavigateUri="https://www.nuget.org/packages/microsoft.extensions.dependencyinjection/">Microsoft.Extensions.DependencyInjection</HyperlinkButton> |
256 | 255 | <HyperlinkButton NavigateUri="https://www.nuget.org/packages/Microsoft.Extensions.Hosting">Microsoft.Extensions.Hosting</HyperlinkButton> |
|
0 commit comments