diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2019-07-28 13:22:50 +0300 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2019-07-28 13:22:50 +0300 |
| commit | 16cc209e80498a0b39c1ad57d4f36be906cbb313 (patch) | |
| tree | b16173749f6a1420f617a7e6eed872b073069420 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/UpdateView.xaml | |
| parent | efea9b7b9eb9874034ce3f726ac09b9cc173df0f (diff) | |
| download | Tango-16cc209e80498a0b39c1ad57d4f36be906cbb313.tar.gz Tango-16cc209e80498a0b39c1ad57d4f36be906cbb313.zip | |
Refactored machine studio for using colors static resources.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/UpdateView.xaml')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/UpdateView.xaml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/UpdateView.xaml b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/UpdateView.xaml index f5d1065b8..a35928e12 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/UpdateView.xaml +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Views/UpdateView.xaml @@ -54,7 +54,7 @@ </Style> </StackPanel.Style> <TextBlock Foreground="Gray" FontSize="16">Release Notes</TextBlock> - <TextBlock FontSize="12" TextWrapping="Wrap" Foreground="#404040" Margin="0 5 0 0" Text="{Binding UpdateComments}"></TextBlock> + <TextBlock FontSize="12" TextWrapping="Wrap" Foreground="{StaticResource GrayBrush290}" Margin="0 5 0 0" Text="{Binding UpdateComments}"></TextBlock> </StackPanel> </Canvas> </Grid> @@ -109,7 +109,7 @@ </StackPanel> </Button> - <Button Visibility="{Binding IsRollbackAvailable,Converter={StaticResource BoolToVisConverter}}" MinWidth="140" Height="40" Style="{StaticResource MaterialDesignFlatButton}" ToolTip="Restore Machine Studio to the previous version." Margin="0 40 0 0" Command="{Binding RollbackCommand}" Foreground="#FF5F5F"> + <Button Visibility="{Binding IsRollbackAvailable,Converter={StaticResource BoolToVisConverter}}" MinWidth="140" Height="40" Style="{StaticResource MaterialDesignFlatButton}" ToolTip="Restore Machine Studio to the previous version." Margin="0 40 0 0" Command="{Binding RollbackCommand}" Foreground="{StaticResource RedBrush100}"> <StackPanel Orientation="Horizontal"> <materialDesign:PackIcon Kind="BackupRestore" Width="24" Height="24" /> <TextBlock Margin="5 0 0 0" VerticalAlignment="Center">Restore previous version</TextBlock> @@ -185,7 +185,7 @@ <TextBlock VerticalAlignment="Center" Margin="0 20 0 0">Your version of Machine Studio is up to date!</TextBlock> </StackPanel> - <Button Visibility="{Binding IsRollbackAvailable,Converter={StaticResource BoolToVisConverter}}" MinWidth="140" Height="40" Style="{StaticResource MaterialDesignFlatButton}" ToolTip="Restore Machine Studio to the previous version." Margin="0 40 0 0" Command="{Binding RollbackCommand}" Foreground="#FF5F5F"> + <Button Visibility="{Binding IsRollbackAvailable,Converter={StaticResource BoolToVisConverter}}" MinWidth="140" Height="40" Style="{StaticResource MaterialDesignFlatButton}" ToolTip="Restore Machine Studio to the previous version." Margin="0 40 0 0" Command="{Binding RollbackCommand}" Foreground="{StaticResource RedBrush100}"> <StackPanel Orientation="Horizontal"> <materialDesign:PackIcon Kind="BackupRestore" Width="24" Height="24" /> <TextBlock Margin="5 0 0 0" VerticalAlignment="Center">Restore previous version</TextBlock> @@ -201,7 +201,7 @@ <Setter.Value> <Grid> <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"> - <materialDesign:PackIcon Kind="Alert" Width="100" Height="100" Foreground="#FF5F5F" HorizontalAlignment="Center" /> + <materialDesign:PackIcon Kind="Alert" Width="100" Height="100" Foreground="{StaticResource RedBrush100}" HorizontalAlignment="Center" /> <TextBlock VerticalAlignment="Center" Margin="0 20 0 0" HorizontalAlignment="Center">Error updating machine studio</TextBlock> <TextBlock HorizontalAlignment="Center" Margin="0 10 0 0" FontSize="12" TextAlignment="Center"> <Run>An error occurred while updating your software.</Run> @@ -238,7 +238,7 @@ <Setter.Value> <Grid> <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"> - <materialDesign:PackIcon Kind="Alert" Width="100" Height="100" Foreground="#FF5F5F" HorizontalAlignment="Center" /> + <materialDesign:PackIcon Kind="Alert" Width="100" Height="100" Foreground="{StaticResource RedBrush100}" HorizontalAlignment="Center" /> <TextBlock VerticalAlignment="Center" Margin="0 20 0 0" HorizontalAlignment="Center">Error restoring previous version</TextBlock> <TextBlock HorizontalAlignment="Center" Margin="0 10 0 0" FontSize="12" TextAlignment="Center"> <Run>An error occurred while restore the last version.</Run> |
