Fix display error of warn messages
MODIFY
WalletWasabi.Gui/Controls/NoparaPasswordBox.xaml
WalletWasabi.Gui/Controls/NoparaPasswordBox.xaml
<Setter Property="Template">
<ControlTemplate>
<Border Name="border" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
- <DockPanel Margin="{TemplateBinding Padding}">
+ <DockPanel Margin="{TemplateBinding Padding}" LastChildFill ="true">
<TextBlock Name="floatingWatermark" Foreground="{DynamicResource ThemeAccentBrush}" FontSize="{DynamicResource FontSizeSmall}" Text="{TemplateBinding Watermark}" DockPanel.Dock="Top">
<TextBlock.IsVisible>
<MultiBinding Converter="{x:Static BoolConverters.And}">
<Binding RelativeSource="{RelativeSource TemplatedParent}" Path="Text" Converter="{x:Static StringConverters.IsNotNullOrEmpty}" />
</Button.IsVisible>
</Button>
+ <TextBlock DockPanel.Dock="Bottom"
+ Name="warningMessage"
+ Classes="warningMessage"
+ Text="{TemplateBinding WarningMessage}"
+ IsVisible="{TemplateBinding WarningMessage, Converter={x:Static StringConverters.IsNotNullOrEmpty}}" />
<DataValidationErrors>
<ScrollViewer
HorizontalScrollBarVisibility="{TemplateBinding (ScrollViewer.HorizontalScrollBarVisibility)}"
TextWrapping="{TemplateBinding TextWrapping}"
PasswordChar="{TemplateBinding PasswordChar}"
IsVisible="{TemplateBinding WarningMessage, Converter={x:Static StringConverters.IsNullOrEmpty}}" />
- <TextBlock
- Name="warningMessage"
- Classes="warningMessage"
- Text="{TemplateBinding WarningMessage}"
- IsVisible="{TemplateBinding WarningMessage, Converter={x:Static StringConverters.IsNotNullOrEmpty}}" />
</Panel>
</ScrollViewer>
</DataValidationErrors>

Fix display error of warn messages