Skip to content

Commit

Permalink
Merge pull request #67 from 0xf005ba11/vmpage-status
Browse files Browse the repository at this point in the history
Add status text to vm page
  • Loading branch information
jxy-s authored Nov 22, 2023
2 parents 3c97b64 + c86a0e1 commit 05c06ad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions VMPlex/UI/VmRdpPage.xaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<UserControl x:Class="VMPlex.UI.VmRdpPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:VMPlex"
xmlns:ui="http://schemas.modernwpf.com/2019"
mc:Ignorable="d">
Expand Down Expand Up @@ -86,6 +86,8 @@
<TextBlock Text="CPU: " VerticalAlignment="Center" DockPanel.Dock="Right"/>
<ui:AppBarSeparator IsCompact="True" DockPanel.Dock="Right"/>
<TextBlock Text="{Binding MemoryUsage,StringFormat='{}{0} MB'}" VerticalAlignment="Center" DockPanel.Dock="Right"/>
<ui:AppBarSeparator IsCompact="True" DockPanel.Dock="Right"/>
<TextBlock Text="{Binding StatusText}" VerticalAlignment="Center" DockPanel.Dock="Right"/>
<ui:AppBarSeparator IsCompact="True" DockPanel.Dock="Right" Visibility="Hidden"/>
</DockPanel>
</Grid>
Expand Down

0 comments on commit 05c06ad

Please sign in to comment.