mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-04-05 17:39:39 -04:00
Update to avalonia 11 preview
This commit is contained in:
parent
ff784b31d1
commit
523710ce25
@ -23,15 +23,17 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Avalonia" Version="0.10.15" />
|
||||
<PackageReference Include="Avalonia.Controls.DataGrid" Version="0.10.15" />
|
||||
<PackageReference Include="Avalonia.Desktop" Version="0.10.15" />
|
||||
<PackageReference Include="Avalonia.Diagnostics" Version="0.10.15" />
|
||||
<PackageReference Include="Avalonia.ReactiveUI" Version="0.10.15" />
|
||||
<PackageReference Include="Egorozh.ColorPicker.Avalonia.Dialog" Version="0.10.7" />
|
||||
<PackageReference Include="MessageBox.Avalonia" Version="2.0.0" />
|
||||
<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0" />
|
||||
<PackageReference Include="System.Speech" Version="5.0.0" />
|
||||
<PackageReference Include="Avalonia" Version="11.0.0-preview4" />
|
||||
<PackageReference Include="Avalonia.Controls.DataGrid" Version="11.0.0-preview4" />
|
||||
<PackageReference Include="Avalonia.Desktop" Version="11.0.0-preview4" />
|
||||
<PackageReference Include="Avalonia.Diagnostics" Version="11.0.0-preview4" />
|
||||
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.0-preview4" />
|
||||
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.0-preview4" />
|
||||
<PackageReference Include="Avalonia.Themes.Simple" Version="11.0.0-preview4" />
|
||||
<PackageReference Include="Egorozh.ColorPicker.Avalonia.Dialog" Version="11.0.0-preview1" />
|
||||
<PackageReference Include="MessageBox.Avalonia" Version="2.3.1-prev2" />
|
||||
<PackageReference Include="System.Configuration.ConfigurationManager" Version="7.0.0" />
|
||||
<PackageReference Include="System.Speech" Version="7.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -7,10 +7,9 @@
|
||||
<local:ViewLocator/>
|
||||
</Application.DataTemplates>
|
||||
<Application.Styles>
|
||||
<FluentTheme Mode="Dark"/>
|
||||
<StyleInclude Source="avares://Avalonia.Controls.DataGrid/Themes/Default.xaml"/>
|
||||
<StyleInclude Source="resm:Avalonia.Themes.Default.Accents.BaseDark.xaml?assembly=Avalonia.Themes.Default"/>
|
||||
<FluentTheme Mode="Light"/>
|
||||
<StyleInclude Source="avares://Avalonia.Controls.DataGrid/Themes/Fluent.xaml"/>
|
||||
<StyleInclude Source="avares://Egorozh.ColorPicker.Avalonia.Dialog/Themes/Default.axaml" />
|
||||
<dialog:FluentColorPickerTheme Mode="Dark" />
|
||||
<dialog:FluentColorPickerTheme Mode="Light" />
|
||||
</Application.Styles>
|
||||
</Application>
|
@ -992,9 +992,9 @@ namespace Observatory.UI.Views
|
||||
NumericUpDown numericUpDown = new() { Value = intSetting, AllowSpin = true };
|
||||
if (bounds != null)
|
||||
{
|
||||
numericUpDown.Minimum = bounds.Minimum;
|
||||
numericUpDown.Maximum = bounds.Maximum;
|
||||
numericUpDown.Increment = bounds.Increment;
|
||||
numericUpDown.Minimum = (decimal)bounds.Minimum;
|
||||
numericUpDown.Maximum = (decimal)bounds.Maximum;
|
||||
numericUpDown.Increment = (decimal)bounds.Increment;
|
||||
}
|
||||
numericUpDown.ValueChanged += (object sender, NumericUpDownValueChangedEventArgs e) =>
|
||||
{
|
||||
|
@ -32,7 +32,7 @@
|
||||
</Target>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="NLua" Version="1.5.9" />
|
||||
<PackageReference Include="NLua" Version="1.6.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
Loading…
x
Reference in New Issue
Block a user