Update MainWindow.xaml

This commit is contained in:
PrefacedCorg
2026-04-06 15:02:04 +08:00
parent f0343c98b5
commit bd4b4bd233
+4 -4
View File
@@ -715,7 +715,7 @@
<!-- 更新通道选择 -->
<ikw:SimpleStackPanel Spacing="8" Margin="0,8,0,0">
<TextBlock Text="{i18n:I18n Key=Startup_UpdateChannel}" FontSize="15" FontWeight="Bold" Foreground="#fafafa"/>
<TextBlock Text="{i18n:I18n Key=Startup_UpdateChannel}" FontSize="15" FontWeight="Bold" Foreground="#fafafa"/>
<ui:RadioButtons x:Name="UpdateChannelSelector" Margin="0,4,0,0">
<RadioButton Content="{i18n:I18n Key=Update_Release}" GroupName="UpdateChannel"
Tag="Release" Checked="UpdateChannelSelector_Checked"/>
@@ -731,13 +731,13 @@
<Button x:Name="ManualUpdateButton" Content="{i18n:I18n Key=Btn_ManualUpdate}" Margin="0,8,0,0"
Width="220" HorizontalAlignment="Left" Click="ManualUpdateButton_Click"
Visibility="{Binding ElementName=ToggleSwitchIsAutoUpdate, Path=IsOn, Converter={StaticResource InverseBooleanToVisibilityConverter}}"/>
<TextBlock Text="{i18n:I18n Key=Startup_ManualUpdateHint}"
<TextBlock Text="{i18n:I18n Key=Startup_ManualUpdateHint}"
TextWrapping="Wrap" Foreground="#a1a1aa"
Visibility="{Binding ElementName=ToggleSwitchIsAutoUpdate, Path=IsOn, Converter={StaticResource InverseBooleanToVisibilityConverter}}"/>
<!-- 版本修复按钮 -->
<Button x:Name="FixVersionButton" Content="{i18n:I18n Key=Btn_FixVersion}" Margin="0,8,0,0"
Width="220" HorizontalAlignment="Left" Click="FixVersionButton_Click"/>
<TextBlock Text="{i18n:I18n Key=Startup_FixVersionHint}"
<TextBlock Text="{i18n:I18n Key=Startup_FixVersionHint}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
<Button x:Name="HistoryRollbackButton" Content="{i18n:I18n Key=Btn_HistoryRollback}" Width="220" Margin="0,10,0,0" Click="HistoryRollbackButton_Click"/>
<TextBlock Text="{i18n:I18n Key=Startup_HistoryRollbackHint}"
@@ -2561,7 +2561,7 @@
<TextBlock Text="{i18n:I18n Key=PPT_TimeCapsuleHint}" TextWrapping="Wrap"
Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,8,0,0">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_TimeCapsulePosition}" VerticalAlignment="Center"
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_TimeCapsulePosition}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ComboBox Name="ComboBoxPPTTimeCapsulePosition"
Width="150"