The size of the syntax editor in my window is pretty small as my users are only editing 10-ish lines of code. But I'd still like them to be able to see the line numbers, but there is a significant amount of whitespace to the left of the line numbers and between the line numbers in the code. I want to eliminate how much space the LineNumberMargin is taking up. Based on searching on the forum I tried adding the following XAML to my app.xaml but it doesn't work.
<Style TargetType="{x:Type editor:EditorLineNumberMargin}">
<Setter Property="MaxWidth" Value="15" />
</Style>
How can I reduce the overall width of the LineNumberMargin?
<Style TargetType="{x:Type editor:EditorLineNumberMargin}">
<Setter Property="MaxWidth" Value="15" />
</Style>
How can I reduce the overall width of the LineNumberMargin?