Embed a font for numerical fields and other monospaced styled fields.
Embedded Font (Inconsolata) is published under the SIL Open Font License (OFL) which allows for Embedding.
ADD
WalletWasabi.Gui/Assets/Inconsolata-Regular.ttf
WalletWasabi.Gui/Assets/Inconsolata-Regular.ttf
Binary files /dev/null and b/WalletWasabi.Gui/Assets/Inconsolata-Regular.ttf differ

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/HistoryTabView.xaml
WalletWasabi.Gui/Controls/WalletExplorer/HistoryTabView.xaml
</Border>
<TextBlock Text="{Binding DateTime, ConverterParameter=11, Converter={StaticResource LurkingWifeModeStringConverter}, Mode=OneWay}" Grid.Column="1" />
<TextBlock Text="{Binding AmountBtc, ConverterParameter=8, Converter={StaticResource LurkingWifeModeStringConverter}, Mode=OneWay}" Grid.Column="2" Foreground="{Binding AmountBtc, Converter={StaticResource MoneyBrushConverter}}" />
- <TextBlock IsVisible="{Binding !ClipboardNotificationVisible}" Text="{Binding TransactionId, ConverterParameter=50, Converter={StaticResource LurkingWifeModeStringConverter}, Mode=OneWay}" Grid.Column="3" />
+ <TextBlock Classes="monospaceFont" IsVisible="{Binding !ClipboardNotificationVisible}" Text="{Binding TransactionId, ConverterParameter=50, Converter={StaticResource LurkingWifeModeStringConverter}, Mode=OneWay}" Grid.Column="3" />
<Grid IsVisible="{Binding ClipboardNotificationVisible}" Grid.Column="3">
<Grid Opacity="{Binding ClipboardNotificationOpacity}">
<Grid.Transitions>

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/ReceiveTabView.xaml
WalletWasabi.Gui/Controls/WalletExplorer/ReceiveTabView.xaml
</Panel>
<Grid ColumnDefinitions="140, *" RowDefinitions="22,22" Margin="6">
<TextBlock Text="Public key:" Grid.Row="0" Grid.Column="0" />
- <controls:ExtendedTextBox Classes="selectableTextBlock Transaparent" Text="{Binding PubKey}" Grid.Row="0" Grid.Column="1" />
+ <controls:ExtendedTextBox Classes="selectableTextBlock monospaceFont Transaparent" Text="{Binding PubKey}" Grid.Row="0" Grid.Column="1" />
<TextBlock Text="Key path:" Grid.Row="1" Grid.Column="0" />
- <controls:ExtendedTextBox Classes="selectableTextBlock Transaparent" Text="{Binding KeyPath}" Grid.Row="1" Grid.Column="1" />
+ <controls:ExtendedTextBox Classes="selectableTextBlock monospaceFont Transaparent" Text="{Binding KeyPath}" Grid.Row="1" Grid.Column="1" />
</Grid>
</StackPanel>
</Expander>
<Grid ColumnDefinitions="400, *, 100" Margin="30 0 0 0">
- <TextBlock IsVisible="{Binding !ClipboardNotificationVisible}" Text="{Binding Address, ConverterParameter=27, Converter={StaticResource LurkingWifeModeStringConverter}, Mode=OneWay}"></TextBlock>
+ <TextBlock Classes="monospaceFont" IsVisible="{Binding !ClipboardNotificationVisible}" Text="{Binding Address, ConverterParameter=27, Converter={StaticResource LurkingWifeModeStringConverter}, Mode=OneWay}"></TextBlock>
<Grid IsVisible="{Binding ClipboardNotificationVisible}">
<Grid Opacity="{Binding ClipboardNotificationOpacity}">
<Grid.Transitions>

MODIFY
WalletWasabi.Gui/Styles/Styles.xaml
WalletWasabi.Gui/Styles/Styles.xaml
<sys:Double x:Key="FontSizeSmall">12</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>
+ <x:Uri>resm:WalletWasabi.Gui.Assets.*.ttf?assembly=WalletWasabi.Gui</x:Uri>
+ </x:Arguments>
+ </FontFamily>
</Style.Resources>
</Style>
<Style Selector="shell|MetroWindow /template/ Button#minimiseButton">
</Template>
</Setter>
</Style>
+ <Style Selector="TextBox.monospaceFont">
+ <Setter Property="FontFamily" Value="{StaticResource MonospacedFont}"/>
+ </Style>
+ <Style Selector="TextBlock.monospaceFont">
+ <Setter Property="FontFamily" Value="{StaticResource MonospacedFont}"/>
+ </Style>
<Style Selector="TextBox.selectableTextBlock">
<Setter Property="Padding" Value="0" />
<Setter Property="BorderThickness" Value="0" />

Embed a font for numerical fields and other monospaced styled fields.

Embedded Font (Inconsolata) is published under the SIL Open Font License (OFL) which allows for Embedding.