mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Use monospaced font for mouse location.
This commit is contained in:
parent
f937781aeb
commit
ad160f0daa
|
|
@ -116,6 +116,11 @@
|
|||
local:HyperlinkText.InlinesSource="{Binding MapLayer.Description, ElementName=map}"/>
|
||||
</Border>
|
||||
|
||||
<Border HorizontalAlignment="Center" VerticalAlignment="Top" Margin="4"
|
||||
Background="#AFFFFFFF" IsHitTestVisible="False">
|
||||
<TextBlock x:Name="mouseLocation" FontFamily="Consolas" Margin="4,2" Visibility="Collapsed"/>
|
||||
</Border>
|
||||
|
||||
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Margin="6" Background="#7FFFFFFF">
|
||||
<tools:MapLayersMenuButton x:Name="mapLayersMenuButton"
|
||||
Margin="2" Padding="8" ToolTipService.ToolTip="Map Layers and Overlays"
|
||||
|
|
@ -220,10 +225,5 @@
|
|||
<FontIcon Glyph=""/>
|
||||
</Button>
|
||||
</StackPanel>
|
||||
|
||||
<Border HorizontalAlignment="Center" VerticalAlignment="Top" Margin="4"
|
||||
Background="#AFFFFFFF" IsHitTestVisible="False">
|
||||
<TextBlock x:Name="mouseLocation" Margin="4,2" Visibility="Collapsed"/>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Page>
|
||||
|
|
|
|||
|
|
@ -117,6 +117,11 @@
|
|||
local:HyperlinkText.InlinesSource="{Binding MapLayer.Description, ElementName=map}"/>
|
||||
</Border>
|
||||
|
||||
<Border HorizontalAlignment="Center" VerticalAlignment="Top" Margin="4"
|
||||
Background="#AFFFFFFF" IsHitTestVisible="False">
|
||||
<TextBlock x:Name="mouseLocation" FontFamily="Consolas" Margin="4,2" Visibility="Collapsed"/>
|
||||
</Border>
|
||||
|
||||
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Margin="6">
|
||||
<tools:MapLayersMenuButton x:Name="mapLayersMenuButton"
|
||||
Margin="2" Padding="8" ToolTipService.ToolTip="Map Layers and Overlays"
|
||||
|
|
@ -220,10 +225,5 @@
|
|||
<FontIcon Glyph=""/>
|
||||
</Button>
|
||||
</StackPanel>
|
||||
|
||||
<Border HorizontalAlignment="Center" VerticalAlignment="Top" Margin="4"
|
||||
Background="#AFFFFFFF" IsHitTestVisible="False">
|
||||
<TextBlock x:Name="mouseLocation" Margin="4,2" Visibility="Collapsed"/>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
|
|
|||
|
|
@ -143,6 +143,13 @@
|
|||
local:HyperlinkText.InlinesSource="{Binding MapLayer.Description, ElementName=map}"/>
|
||||
</Border>
|
||||
|
||||
<local:OutlinedText
|
||||
x:Name="mouseLocation" Margin="4" FontFamily="Consolas"
|
||||
Background="{Binding Background, ElementName=map}"
|
||||
Foreground="{Binding Foreground, ElementName=map}"
|
||||
HorizontalAlignment="Center" VerticalAlignment="Top"
|
||||
IsHitTestVisible="False"/>
|
||||
|
||||
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Margin="6">
|
||||
<tools:MapLayersMenuButton x:Name="mapLayersMenuButton"
|
||||
Margin="2" ToolTip="Map Layers and Overlays"
|
||||
|
|
@ -193,12 +200,5 @@
|
|||
</Button.Visibility>
|
||||
</Button>
|
||||
</StackPanel>
|
||||
|
||||
<local:OutlinedText
|
||||
x:Name="mouseLocation" Margin="4"
|
||||
Background="{Binding Background, ElementName=map}"
|
||||
Foreground="{Binding Foreground, ElementName=map}"
|
||||
HorizontalAlignment="Center" VerticalAlignment="Top"
|
||||
IsHitTestVisible="False"/>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
|
|
|||
Loading…
Reference in a new issue