aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Views
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2023-07-04 13:49:41 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2023-07-04 13:49:41 +0300
commit890a5a98072d12544e0fbfdf937d6a53fdcd907f (patch)
tree0000ad607ce387d26df1538cd3642e99c267df9d /Software/Visual_Studio/PPC/Tango.PPC.UI/Views
parentd085c3dc4fe7c5da568a2db8d68ca62475b0c905 (diff)
downloadTango-890a5a98072d12544e0fbfdf937d6a53fdcd907f.tar.gz
Tango-890a5a98072d12544e0fbfdf937d6a53fdcd907f.zip
Added message in GUI during power off machine.
Related Work Items: #8639
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Views')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/Views/PowerOffView.xaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/PowerOffView.xaml b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/PowerOffView.xaml
index 6358f17de..b08aab298 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/PowerOffView.xaml
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/PowerOffView.xaml
@@ -11,7 +11,9 @@
d:DesignHeight="1280" d:DesignWidth="800" Background="{StaticResource TangoPrimaryBackgroundBrush}" d:DataContext="{d:DesignInstance Type=vm:PowerOffViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.PowerOffViewVM}">
<Grid>
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
- <Grid>
+ <TextBlock FontSize="{StaticResource TangoTitleFontSize}" HorizontalAlignment="Center" Margin="0 50 0 0" Text="{Binding Status.Message}" TextTrimming="CharacterEllipsis"/>
+
+ <Grid Margin="0 30 0 0">
<touch:TouchGifAnimation Source="/Images/power_off_2.gif" EnableAnimation="{Binding IsVisible}" HorizontalAlignment="Center" />
<TextBlock FontSize="{StaticResource TangoHeaderFontSize}" FontWeight="DemiBold" HorizontalAlignment="Center" Margin="0 50 0 0">
<Run Text="{Binding Status.ProgressPercentage, TargetNullValue=0}"/>%