Enlarge header connection status badge and add localized tooltips
This commit is contained in:
@@ -419,40 +419,42 @@
|
||||
<!--<TextBlock MouseDown="OnCloseClicked" HorizontalAlignment="Right" FontSize="20" FontWeight="Bold" Margin="0,-5,5,0" Cursor="Hand" Panel.ZIndex="500" >X</TextBlock>-->
|
||||
<Border HorizontalAlignment="Right"
|
||||
VerticalAlignment="Top"
|
||||
Margin="0,12,96,0"
|
||||
Width="28"
|
||||
Height="28"
|
||||
Margin="0,10,102,0"
|
||||
Width="36"
|
||||
Height="36"
|
||||
Panel.ZIndex="505"
|
||||
CornerRadius="14"
|
||||
BorderThickness="1"
|
||||
CornerRadius="18"
|
||||
BorderThickness="2"
|
||||
BorderBrush="#FFD92D20"
|
||||
Background="#33D92D20"
|
||||
Background="#66D92D20"
|
||||
ToolTip="{x:Static resx:Resources.connectionStatusOffline}"
|
||||
Visibility="{Binding Visibility, ElementName=ConnProblem}">
|
||||
<Image Source="{DynamicResource nav_appbar_network_server_disconnect}"
|
||||
Tag="ICO"
|
||||
x:Name="ConnProblem"
|
||||
Width="18"
|
||||
Height="18"
|
||||
Width="24"
|
||||
Height="24"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Visibility="Visible" />
|
||||
</Border>
|
||||
<Border HorizontalAlignment="Right"
|
||||
VerticalAlignment="Top"
|
||||
Margin="0,12,96,0"
|
||||
Width="28"
|
||||
Height="28"
|
||||
Margin="0,10,102,0"
|
||||
Width="36"
|
||||
Height="36"
|
||||
Panel.ZIndex="505"
|
||||
CornerRadius="14"
|
||||
BorderThickness="1"
|
||||
CornerRadius="18"
|
||||
BorderThickness="2"
|
||||
BorderBrush="#FFD97706"
|
||||
Background="#33F59E0B"
|
||||
Background="#66F59E0B"
|
||||
ToolTip="{x:Static resx:Resources.connectionStatusConnecting}"
|
||||
Visibility="{Binding Visibility, ElementName=Connecting}">
|
||||
<Image Source="{DynamicResource nav_appbar_network_server_connecting}"
|
||||
Tag="ICO"
|
||||
x:Name="Connecting"
|
||||
Width="18"
|
||||
Height="18"
|
||||
Width="24"
|
||||
Height="24"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Visibility="Visible">
|
||||
|
||||
Reference in New Issue
Block a user