code cleanup

This commit is contained in:
Holger Börchers 2022-01-16 21:41:54 +01:00
parent 209c3e8545
commit a4ba0bf4a4
2 changed files with 3 additions and 5 deletions

View File

@ -13,10 +13,8 @@
</Window.DataContext>
<Grid ColumnDefinitions="*,*">
<StackPanel Grid.Row="0" Grid.Column="0" Spacing="10" Margin="10">
<Button HorizontalAlignment="Stretch" Command="{Binding OpenCsvFileAsync}"
CommandParameter="{Binding ElementName=LayoutRoot}" HorizontalContentAlignment="Center">
Load CSV file
</Button>
<Button HorizontalAlignment="Stretch" Command="{Binding OpenCsvFileAsync}" Content="Load CSV file"
CommandParameter="{Binding ElementName=LayoutRoot}" HorizontalContentAlignment="Center" />
<TextBox UseFloatingWatermark="True" Watermark="Count of centroids" Text="{Binding CountOfCentroids}" />
</StackPanel>
<avalonia:Plot Grid.Column="1"

View File

@ -9,7 +9,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ScottPlot" Version="4.1.27" />
<PackageReference Include="ScottPlot" Version="4.1.30" />
</ItemGroup>
<ItemGroup>