mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-07-01 08:23:42 -04:00
Update to avalonia 11 preview
This commit is contained in:
@ -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) =>
|
||||
{
|
||||
|
Reference in New Issue
Block a user