Use monospaced font for mouse location.

This commit is contained in:
Clemens 2022-03-08 20:12:19 +01:00
parent f937781aeb
commit ad160f0daa
3 changed files with 17 additions and 17 deletions

View file

@ -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>