update install buttons

This commit is contained in:
IsWaffle 2023-10-18 20:43:23 -04:00
parent 75e5cd914e
commit bfc70842e2
2 changed files with 14 additions and 5 deletions

View File

@ -24,14 +24,18 @@
Margin="5" Margin="5"
/> />
<Button Grid.Row="1" Grid.RowSpan="3" Grid.Column="3" <Button Grid.Row="1" Grid.RowSpan="3" Grid.Column="3" Padding="20 10"
Content="Start Install" Padding="20 10"
VerticalAlignment="Top" VerticalAlignment="Top"
FontSize="15" FontWeight="SemiBold" FontSize="15" FontWeight="SemiBold"
Classes="yellow" Classes="yellow"
IsEnabled="{Binding AllowInstall}" IsEnabled="{Binding AllowInstall}"
Command="{Binding StartInstallCommand}" Command="{Binding StartInstallCommand}"
/> >
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding InstallButtonText}" VerticalAlignment="Center" Foreground="Black"/>
<cc:StatusSpinner State="{Binding InstallButtonCheckState}" Margin="2" IsVisible="{Binding !AllowInstall}"/>
</StackPanel>
</Button>
<ScrollViewer Grid.Row="4" Grid.ColumnSpan="5"> <ScrollViewer Grid.Row="4" Grid.ColumnSpan="5">
<ItemsControl ItemsSource="{Binding PreChecks}"> <ItemsControl ItemsSource="{Binding PreChecks}">

View File

@ -19,13 +19,18 @@
HorizontalAlignment="Center" HorizontalAlignment="Center"
/> />
</StackPanel> </StackPanel>
<Button Grid.Column="2" Grid.Row="3" Content="Start Install" Padding="20 10" <Button Grid.Column="2" Grid.Row="3" Padding="20 10"
Margin="10" Margin="10"
FontSize="15" FontWeight="SemiBold" FontSize="15" FontWeight="SemiBold"
Classes="yellow" Classes="yellow"
IsEnabled="{Binding AllowInstall}" IsEnabled="{Binding AllowInstall}"
Command="{Binding StartInstallCommand}" Command="{Binding StartInstallCommand}"
/> >
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding InstallButtonText}" VerticalAlignment="Center" Foreground="Black"/>
<cc:StatusSpinner State="{Binding InstallButtonCheckState}" Margin="2" IsVisible="{Binding !AllowInstall}"/>
</StackPanel>
</Button>
<ItemsControl ItemsSource="{Binding PreChecks}" Grid.Column="1" Grid.ColumnSpan="3" Grid.Row="4" HorizontalAlignment="Center"> <ItemsControl ItemsSource="{Binding PreChecks}" Grid.Column="1" Grid.ColumnSpan="3" Grid.Row="4" HorizontalAlignment="Center">
<ItemsControl.ItemsPanel> <ItemsControl.ItemsPanel>