Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monospaced Embedded Font #2136

Merged
merged 7 commits into from Aug 26, 2019

Separate FontSize declaration for monospace and original font.

  • Loading branch information...
jmacato committed Aug 23, 2019
commit 464dc3ab1d31bb54735a4dcde5f1fd917a2b5538
@@ -12,8 +12,8 @@
<SolidColorBrush x:Key="WarningMessageForeground">#FFDD00</SolidColorBrush>
<SolidColorBrush x:Key="GreenBrush">#00DD10</SolidColorBrush>
<sys:Double x:Key="FontSizeSmall">12</sys:Double>
<sys:Double x:Key="FontSizeNormal">16</sys:Double>
<sys:Double x:Key="FontSizeLarge">20</sys:Double>
<sys:Double x:Key="FontSizeNormal">14</sys:Double>
<sys:Double x:Key="FontSizeLarge">16</sys:Double>
<FontFamily x:Key="MonospacedFont">
<x:Arguments>
<x:String>Inconsolata</x:String>
@@ -79,9 +79,11 @@
</Style>
<Style Selector="TextBox.monospaceFont">
<Setter Property="FontFamily" Value="{StaticResource MonospacedFont}"/>
<Setter Property="FontSize" Value="16"/>
</Style>
<Style Selector="TextBlock.monospaceFont">
<Setter Property="FontFamily" Value="{StaticResource MonospacedFont}"/>
<Setter Property="FontSize" Value="16"/>
</Style>
This conversation was marked as resolved by jmacato

This comment has been minimized.

Copy link
@yahiheb

yahiheb Aug 23, 2019

Collaborator

Remove extra space.

<Style Selector="TextBox.selectableTextBlock">
<Setter Property="Padding" Value="0" />
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.