1.1.4 -> 0.0.1 第6次更新

This commit is contained in:
Space Time 2025-03-01 22:41:15 +08:00
parent e92dd7f996
commit b177853e6d
2 changed files with 19 additions and 3 deletions

View File

@ -3,7 +3,23 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
RequestedThemeVariant="Default">
<Application.Styles>
<FluentTheme DensityStyle="Compact" />
<FluentTheme>
<FluentTheme.Palettes>
<ColorPaletteResources x:Key="Light" Accent="Red" />
<ColorPaletteResources x:Key="Dark" Accent="Red" />
</FluentTheme.Palettes>
</FluentTheme>
<Style Selector="Window">
<Setter Property="Title" Value="Sheas Cealer Nix" />
</Style>
<Style Selector="Button">
<Setter Property="HorizontalAlignment" Value="Stretch" />
<Setter Property="VerticalAlignment" Value="Stretch" />
<Setter Property="HorizontalContentAlignment" Value="Center" />
<Setter Property="VerticalContentAlignment" Value="Center" />
</Style>
</Application.Styles>
<!--<Application.Resources>

View File

@ -1,7 +1,6 @@
<Window x:Class="Sheas_Cealer_Nix.Wins.MainWin"
x:DataType="preses:MainPres"
xmlns="https://github.com/avaloniaui"
xmlns:vm="using:AvaloniaMVVMApplication2.ViewModels"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
@ -203,7 +202,8 @@
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Button Grid.Column="0" Margin="5"
<Button IsEnabled="False"
Grid.Column="0" Margin="5"
Content="{x:Static consts:MainConst.SettingsButtonContent}"
ToolTip.Tip="{x:Static consts:MainConst.SettingsButtonToolTip}"
Click="SettingsButton_Click" />