apply monospace on txids and addresses
MODIFY
WalletWasabi.Fluent/Styles/TextBox.axaml
WalletWasabi.Fluent/Styles/TextBox.axaml
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:behaviors="using:WalletWasabi.Fluent.Behaviors"
xmlns:i="using:Avalonia.Xaml.Interactivity"
+ xmlns:c="using:WalletWasabi.Fluent.Controls"
xmlns:validation="clr-namespace:WalletWasabi.Fluent.Validation"
xmlns:conv="clr-namespace:WalletWasabi.Fluent.Converters">
<Styles.Resources>
</Setter>
</Style>
- <Style Selector="TextBlock.monoSpaced">
- <Setter Property="FontFamily" Value="{StaticResource MonospacedFont}" />
+ <Style Selector="TextBlock.monoSpaced, c|PrivacyContentControl.monoSpaced">
+ <Setter Property="(TextBlock.FontFamily)" Value="{StaticResource MonospacedFont}" />
</Style>
<Style Selector="TextBox.monoSpaced /template/ TextPresenter#PART_TextPresenter">

MODIFY
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletInfoView.axaml
WalletWasabi.Fluent/Views/Wallets/Advanced/WalletInfoView.axaml
<c:PreviewItem Icon="{StaticResource private_key_regular}"
Text="Extended Master Private Key"
- Content="{Binding ExtendedMasterPrivateKey}"
CopyParameter="{Binding ExtendedMasterPrivateKey}"
IsVisible="{Binding !!ExtendedMasterPrivateKey}"
- PrivacyModeEnabled="{Binding !ShowSensitiveData}" />
+ PrivacyModeEnabled="{Binding !ShowSensitiveData}" >
+ <TextBlock Classes="monoSpaced" Text="{Binding ExtendedMasterPrivateKey}" />
+ </c:PreviewItem>
<Separator IsVisible="{Binding !!ExtendedMasterPrivateKey}" />
<c:PreviewItem Icon="{StaticResource private_key_regular}"
Text="Extended Master zprv"
- Content="{Binding ExtendedMasterZprv}"
CopyParameter="{Binding ExtendedMasterZprv}"
IsVisible="{Binding !!ExtendedMasterZprv}"
- PrivacyModeEnabled="{Binding !ShowSensitiveData}" />
+ PrivacyModeEnabled="{Binding !ShowSensitiveData}" >
+ <TextBlock Classes="monoSpaced" Text="{Binding ExtendedMasterZprv}" />
+ </c:PreviewItem>
<Separator IsVisible="{Binding !!ExtendedMasterZprv}" />
<c:PreviewItem Icon="{StaticResource fingerprint_regular}"
Text="Extended Master Fingerprint"
- Content="{Binding MasterKeyFingerprint}"
- CopyParameter="{Binding MasterKeyFingerprint}" />
+ CopyParameter="{Binding MasterKeyFingerprint}" >
+ <TextBlock Classes="monoSpaced" Text="{Binding MasterKeyFingerprint}" />
+ </c:PreviewItem>
<Separator />
<c:PreviewItem Icon="{StaticResource organization_regular}"
Text="Account Key Path"
- Content="{Binding AccountKeyPath}"
- CopyParameter="{Binding AccountKeyPath}" />
+ CopyParameter="{Binding AccountKeyPath}" >
+ <TextBlock Classes="monoSpaced" Text="{Binding AccountKeyPath}" />
+ </c:PreviewItem>
<Separator />
<c:PreviewItem Icon="{StaticResource private_key_regular}"
Text="Extended Account Private Key xpriv"
- Content="{Binding ExtendedAccountPrivateKey}"
CopyParameter="{Binding ExtendedAccountPrivateKey}"
IsVisible="{Binding !!ExtendedAccountPrivateKey}"
- PrivacyModeEnabled="{Binding !ShowSensitiveData}" />
+ PrivacyModeEnabled="{Binding !ShowSensitiveData}" >
+ <TextBlock Classes="monoSpaced" Text="{Binding ExtendedAccountPrivateKey}" />
+ </c:PreviewItem>
<Separator IsVisible="{Binding !!ExtendedAccountPrivateKey}" />
<c:PreviewItem Icon="{StaticResource private_key_regular}"
Text="Extended Account Private Key zprv"
- Content="{Binding ExtendedAccountZprv}"
CopyParameter="{Binding ExtendedAccountZprv}"
IsVisible="{Binding !!ExtendedAccountZprv}"
- PrivacyModeEnabled="{Binding !ShowSensitiveData}" />
+ PrivacyModeEnabled="{Binding !ShowSensitiveData}" >
+ <TextBlock Classes="monoSpaced" Text="{Binding ExtendedAccountZprv}" />
+ </c:PreviewItem>
<Separator IsVisible="{Binding !!ExtendedAccountZprv}" />
<c:PreviewItem Icon="{StaticResource key_regular}"
Text="Public External Output descriptor"
CopyParameter="{Binding WpkhOutputDescriptors.PublicExternal}">
- <c:PrivacyContentControl Content="{Binding WpkhOutputDescriptors.PublicExternal}" ForceShow="{Binding ShowSensitiveData}" NumberOfPrivacyChars="38" />
+ <c:PrivacyContentControl Classes="monoSpaced" Content="{Binding WpkhOutputDescriptors.PublicExternal}" ForceShow="{Binding ShowSensitiveData}" NumberOfPrivacyChars="38" />
</c:PreviewItem>
<c:PreviewItem Icon="{StaticResource key_regular}"
Text="Public Internal Output descriptor"
CopyParameter="{Binding WpkhOutputDescriptors.PublicInternal}">
- <c:PrivacyContentControl Content="{Binding WpkhOutputDescriptors.PublicInternal}" ForceShow="{Binding ShowSensitiveData}" NumberOfPrivacyChars="38" />
+ <c:PrivacyContentControl Classes="monoSpaced" Content="{Binding WpkhOutputDescriptors.PublicInternal}" ForceShow="{Binding ShowSensitiveData}" NumberOfPrivacyChars="38" />
</c:PreviewItem>
<c:PreviewItem Icon="{StaticResource key_regular}"
IsVisible="{Binding !!WpkhOutputDescriptors.PrivateExternal}"
PrivacyModeEnabled="{Binding !ShowSensitiveData}"
CopyParameter="{Binding WpkhOutputDescriptors.PrivateExternal}">
- <c:PrivacyContentControl Content="{Binding WpkhOutputDescriptors.PrivateExternal}" ForceShow="{Binding ShowSensitiveData}" NumberOfPrivacyChars="38" />
+ <c:PrivacyContentControl Classes="monoSpaced" Content="{Binding WpkhOutputDescriptors.PrivateExternal}" ForceShow="{Binding ShowSensitiveData}" NumberOfPrivacyChars="38" />
</c:PreviewItem>
<c:PreviewItem Icon="{StaticResource key_regular}"
Text="Private Internal Output descriptor"
IsVisible="{Binding !!WpkhOutputDescriptors.PrivateInternal}"
PrivacyModeEnabled="{Binding !ShowSensitiveData}"
CopyParameter="{Binding WpkhOutputDescriptors.PrivateInternal}">
- <c:PrivacyContentControl Content="{Binding WpkhOutputDescriptors.PrivateInternal}" ForceShow="{Binding ShowSensitiveData}" NumberOfPrivacyChars="38" />
+ <c:PrivacyContentControl Classes="monoSpaced" Content="{Binding WpkhOutputDescriptors.PrivateInternal}" ForceShow="{Binding ShowSensitiveData}" NumberOfPrivacyChars="38" />
</c:PreviewItem>
<c:PreviewItem Icon="{StaticResource key_regular}"
Text="Extended Account Public Key"
CopyParameter="{Binding ExtendedAccountPublicKey}">
- <c:PrivacyContentControl Content="{Binding ExtendedAccountPublicKey}" ForceShow="{Binding ShowSensitiveData}" NumberOfPrivacyChars="38" />
+ <c:PrivacyContentControl Classes="monoSpaced" Content="{Binding ExtendedAccountPublicKey}" ForceShow="{Binding ShowSensitiveData}" NumberOfPrivacyChars="38" />
</c:PreviewItem>
<Separator />
<c:PreviewItem Icon="{StaticResource key_regular}"
Text="Extended Account zpub"
CopyParameter="{Binding ExtendedAccountZpub}">
- <c:PrivacyContentControl Content="{Binding ExtendedAccountZpub}" ForceShow="{Binding ShowSensitiveData}" NumberOfPrivacyChars="38" />
+ <c:PrivacyContentControl Classes="monoSpaced" Content="{Binding ExtendedAccountZpub}" ForceShow="{Binding ShowSensitiveData}" NumberOfPrivacyChars="38" />
</c:PreviewItem>
</StackPanel>
</c:ContentArea>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Receive/ReceiveAddressView.axaml
WalletWasabi.Fluent/Views/Wallets/Receive/ReceiveAddressView.axaml
ExecuteOnOpen="{Binding IsAutoCopyEnabled}" />
</StackPanel>
<c:PrivacyContentControl FontSize="{StaticResource FontSizeH5}" NumberOfPrivacyChars="38">
- <TextBlock Text="{Binding Address}" />
+ <TextBlock Classes="monoSpaced" Text="{Binding Address}" />
</c:PrivacyContentControl>
</DockPanel>
<c:PrivacyContentControl PrivacyReplacementMode="Text" NumberOfPrivacyChars="15" HorizontalAlignment="Center">

MODIFY
WalletWasabi.Fluent/Views/Wallets/Receive/ReceiveAddressesView.axaml
WalletWasabi.Fluent/Views/Wallets/Receive/ReceiveAddressesView.axaml
ToolTip.Tip="QR Code">
<PathIcon Data="{StaticResource qr_code_regular}" Classes=" addressActionIcon"/>
</Button>
- <c:PrivacyContentControl Content="{Binding Address}" VerticalAlignment="Center" NumberOfPrivacyChars="38" />
+ <c:PrivacyContentControl Classes="monoSpaced" Content="{Binding Address}" VerticalAlignment="Center" NumberOfPrivacyChars="38" />
</DockPanel>
</DataTemplate>
</DataBoxTemplateColumn.CellTemplate>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Receive/ReceiveView.axaml
WalletWasabi.Fluent/Views/Wallets/Receive/ReceiveView.axaml
xmlns:behaviors="clr-namespace:WalletWasabi.Fluent.Behaviors"
xmlns:i="clr-namespace:Avalonia.Xaml.Interactivity;assembly=Avalonia.Xaml.Interactivity"
xmlns:receive="clr-namespace:WalletWasabi.Fluent.ViewModels.Wallets.Receive"
- xmlns:labels="clr-namespace:WalletWasabi.Fluent.Views.Wallets.Labels"
x:DataType="receive:ReceiveViewModel"
x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.Wallets.Receive.ReceiveView">

apply monospace on txids and addresses