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}"/>
|
local:HyperlinkText.InlinesSource="{Binding MapLayer.Description, ElementName=map}"/>
|
||||||
</Border>
|
</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">
|
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Margin="6" Background="#7FFFFFFF">
|
||||||
<tools:MapLayersMenuButton x:Name="mapLayersMenuButton"
|
<tools:MapLayersMenuButton x:Name="mapLayersMenuButton"
|
||||||
Margin="2" Padding="8" ToolTipService.ToolTip="Map Layers and Overlays"
|
Margin="2" Padding="8" ToolTipService.ToolTip="Map Layers and Overlays"
|
||||||
|
|
@ -220,10 +225,5 @@
|
||||||
<FontIcon Glyph=""/>
|
<FontIcon Glyph=""/>
|
||||||
</Button>
|
</Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<Border HorizontalAlignment="Center" VerticalAlignment="Top" Margin="4"
|
|
||||||
Background="#AFFFFFFF" IsHitTestVisible="False">
|
|
||||||
<TextBlock x:Name="mouseLocation" Margin="4,2" Visibility="Collapsed"/>
|
|
||||||
</Border>
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</Page>
|
</Page>
|
||||||
|
|
|
||||||
|
|
@ -117,6 +117,11 @@
|
||||||
local:HyperlinkText.InlinesSource="{Binding MapLayer.Description, ElementName=map}"/>
|
local:HyperlinkText.InlinesSource="{Binding MapLayer.Description, ElementName=map}"/>
|
||||||
</Border>
|
</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">
|
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Margin="6">
|
||||||
<tools:MapLayersMenuButton x:Name="mapLayersMenuButton"
|
<tools:MapLayersMenuButton x:Name="mapLayersMenuButton"
|
||||||
Margin="2" Padding="8" ToolTipService.ToolTip="Map Layers and Overlays"
|
Margin="2" Padding="8" ToolTipService.ToolTip="Map Layers and Overlays"
|
||||||
|
|
@ -220,10 +225,5 @@
|
||||||
<FontIcon Glyph=""/>
|
<FontIcon Glyph=""/>
|
||||||
</Button>
|
</Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<Border HorizontalAlignment="Center" VerticalAlignment="Top" Margin="4"
|
|
||||||
Background="#AFFFFFFF" IsHitTestVisible="False">
|
|
||||||
<TextBlock x:Name="mouseLocation" Margin="4,2" Visibility="Collapsed"/>
|
|
||||||
</Border>
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
|
|
|
||||||
|
|
@ -143,6 +143,13 @@
|
||||||
local:HyperlinkText.InlinesSource="{Binding MapLayer.Description, ElementName=map}"/>
|
local:HyperlinkText.InlinesSource="{Binding MapLayer.Description, ElementName=map}"/>
|
||||||
</Border>
|
</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">
|
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Margin="6">
|
||||||
<tools:MapLayersMenuButton x:Name="mapLayersMenuButton"
|
<tools:MapLayersMenuButton x:Name="mapLayersMenuButton"
|
||||||
Margin="2" ToolTip="Map Layers and Overlays"
|
Margin="2" ToolTip="Map Layers and Overlays"
|
||||||
|
|
@ -193,12 +200,5 @@
|
||||||
</Button.Visibility>
|
</Button.Visibility>
|
||||||
</Button>
|
</Button>
|
||||||
</StackPanel>
|
</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>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue