minor design alteration, round off border on channel and system controls; use Last ID instead of Last SRC;
parent
121402ca2f
commit
3e77dc8579
@ -1,12 +1,11 @@
|
||||
<UserControl x:Class="dvmconsole.Controls.SystemStatusBox"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Width="105" Height="55" Background="#FF0B004B" BorderBrush="Gray" BorderThickness="1">
|
||||
<Border Background="{Binding Background, RelativeSource={RelativeSource AncestorType=UserControl}}" CornerRadius="5" Padding="10" BorderThickness="1,1,1,1">
|
||||
<StackPanel Margin="-3,-1,-4,1">
|
||||
<TextBlock Text="{Binding SystemName}" FontWeight="Bold" Foreground="White" FontSize="12"/>
|
||||
<TextBlock Text="{Binding ConnectionState}" Foreground="Gold" FontSize="10"/>
|
||||
Width="105" Height="55">
|
||||
<Border x:Name="ControlBorder" BorderBrush="LightGray" BorderThickness="1,1,1,1" CornerRadius="6">
|
||||
<StackPanel Margin="2,2,2,2">
|
||||
<TextBlock Text="{Binding ConnectionState}" Foreground="Gold" FontSize="10" TextAlignment="Center" />
|
||||
<TextBlock Text="{Binding SystemName}" FontWeight="Bold" Foreground="White" FontSize="16" TextAlignment="Center" />
|
||||
</StackPanel>
|
||||
</Border>
|
||||
</UserControl>
|
||||
|
||||
Loading…
Reference in new issue