per last commits add channel mode to ChannelBox to differentiate between P25 and DMR channels; correct sizing of SystemStatusBox; add light codeplug validation to check for errors at startup; ensure channel and system name lengths are length validated (channel names can be 15 characters, system names 10 characters);
parent
7c29e95157
commit
9e9919967a
@ -1,14 +1,14 @@
|
||||
<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">
|
||||
Width="145" Height="45">
|
||||
<UserControl.Effect>
|
||||
<DropShadowEffect ShadowDepth="1" BlurRadius="16" Color="#FF686767" Opacity="0.3" />
|
||||
</UserControl.Effect>
|
||||
<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" />
|
||||
<TextBlock Text="{Binding ConnectionState}" Margin="0,2,0,0" Foreground="Gold" FontSize="10" TextAlignment="Center" />
|
||||
<TextBlock Text="{Binding SystemName}" Margin="0,4,0,0" FontWeight="Bold" Foreground="White" FontSize="16" TextAlignment="Center" />
|
||||
</StackPanel>
|
||||
</Border>
|
||||
</UserControl>
|
||||
|
||||
Loading…
Reference in new issue