settings_re6

This commit is contained in:
lincube
2026-03-14 15:08:49 +08:00
parent e8be0f0576
commit 8d4f00efcb
8 changed files with 99 additions and 106 deletions

View File

@@ -57,7 +57,6 @@
<TextBlock Text="{Binding AutoCheckUpdatesLabel}"
VerticalAlignment="Center" />
<ToggleSwitch Grid.Column="1"
HorizontalAlignment="Right"
IsChecked="{Binding AutoCheckUpdates}" />
</Grid>
</ui:SettingsExpanderItem>
@@ -66,7 +65,6 @@
<TextBlock Text="{Binding IncludePrereleaseUpdatesLabel}"
VerticalAlignment="Center" />
<ToggleSwitch Grid.Column="1"
HorizontalAlignment="Right"
IsChecked="{Binding IncludePrereleaseUpdates}" />
</Grid>
</ui:SettingsExpanderItem>
@@ -75,8 +73,7 @@
<TextBlock Text="{Binding UpdateChannelLabel}"
VerticalAlignment="Center" />
<ComboBox Grid.Column="1"
MinWidth="160"
HorizontalAlignment="Right"
Width="180"
ItemsSource="{Binding UpdateChannels}"
SelectedItem="{Binding SelectedUpdateChannel}">
<ComboBox.ItemTemplate>

View File

@@ -37,7 +37,7 @@
</ui:SettingsExpander.IconSource>
<ui:SettingsExpander.Footer>
<TextBox Watermark="#AABBCC"
MinWidth="160"
Width="180"
Text="{Binding ThemeColor}" />
</ui:SettingsExpander.Footer>
</ui:SettingsExpander>
@@ -61,8 +61,7 @@
<TextBlock Text="{Binding ClockFormatLabel}"
VerticalAlignment="Center" />
<ComboBox Grid.Column="1"
MinWidth="160"
HorizontalAlignment="Right"
Width="180"
ItemsSource="{Binding ClockFormats}"
SelectedItem="{Binding SelectedClockFormat}">
<ComboBox.ItemTemplate>

View File

@@ -24,8 +24,7 @@
<TextBlock Text="{Binding ShortSideCellsLabel}"
VerticalAlignment="Center" />
<NumericUpDown Grid.Column="1"
MinWidth="120"
HorizontalAlignment="Right"
Width="120"
Minimum="6"
Maximum="96"
Value="{Binding ShortSideCells}" />
@@ -36,8 +35,7 @@
<TextBlock Text="{Binding EdgeInsetPercentLabel}"
VerticalAlignment="Center" />
<NumericUpDown Grid.Column="1"
MinWidth="120"
HorizontalAlignment="Right"
Width="120"
Minimum="0"
Maximum="30"
Value="{Binding EdgeInsetPercent}" />
@@ -48,8 +46,7 @@
<TextBlock Text="{Binding SpacingPresetLabel}"
VerticalAlignment="Center" />
<ComboBox Grid.Column="1"
MinWidth="160"
HorizontalAlignment="Right"
Width="180"
ItemsSource="{Binding SpacingPresets}"
SelectedItem="{Binding SelectedSpacingPreset}">
<ComboBox.ItemTemplate>

View File

@@ -19,7 +19,7 @@
<fi:SymbolIconSource Symbol="Settings" />
</ui:SettingsExpander.IconSource>
<ui:SettingsExpander.Footer>
<ComboBox MinWidth="240"
<ComboBox Width="220"
ItemsSource="{Binding Languages}"
SelectedItem="{Binding SelectedLanguage}">
<ComboBox.ItemTemplate>
@@ -37,7 +37,7 @@
<fi:SymbolIconSource Symbol="Clock" />
</ui:SettingsExpander.IconSource>
<ui:SettingsExpander.Footer>
<ComboBox MinWidth="280"
<ComboBox Width="240"
ItemsSource="{Binding TimeZones}"
SelectedItem="{Binding SelectedTimeZone}">
<ComboBox.ItemTemplate>
@@ -88,7 +88,7 @@
<fi:SymbolIconSource Symbol="DeveloperBoard" />
</ui:SettingsExpander.IconSource>
<ui:SettingsExpander.Footer>
<ComboBox MinWidth="240"
<ComboBox Width="220"
ItemsSource="{Binding RenderModes}"
SelectedItem="{Binding SelectedRenderMode}">
<ComboBox.ItemTemplate>

View File

@@ -18,13 +18,15 @@
<fi:SymbolIconSource Symbol="Image" />
</ui:SettingsExpander.IconSource>
<ui:SettingsExpander.Footer>
<StackPanel Orientation="Horizontal" Spacing="8">
<Grid ColumnDefinitions="220,Auto"
ColumnSpacing="8">
<TextBox IsReadOnly="True"
MinWidth="200"
Grid.Column="0"
Text="{Binding WallpaperPath}" />
<Button Click="OnBrowseWallpaperClick"
<Button Grid.Column="1"
Click="OnBrowseWallpaperClick"
Content="{Binding ImportWallpaperButtonText}" />
</StackPanel>
</Grid>
</ui:SettingsExpander.Footer>
</ui:SettingsExpander>
@@ -34,7 +36,7 @@
<fi:SymbolIconSource Symbol="Maximize" />
</ui:SettingsExpander.IconSource>
<ui:SettingsExpander.Footer>
<ComboBox MinWidth="160"
<ComboBox Width="180"
ItemsSource="{Binding WallpaperPlacements}"
SelectedItem="{Binding SelectedWallpaperPlacement}">
<ComboBox.ItemTemplate>