tempfix to TextBox error message layout issue
MODIFY
WalletWasabi.Fluent/Styles/TextBox.xaml
WalletWasabi.Fluent/Styles/TextBox.xaml
<ControlTemplate>
<DockPanel LastChildFill="True">
<ContentControl
- DockPanel.Dock="Bottom"
+ DockPanel.Dock="Top"
ContentTemplate="{TemplateBinding ErrorTemplate}"
DataContext="{TemplateBinding Owner}"
Content="{Binding (DataValidationErrors.Errors)}"
<Setter Property="CornerRadius" Value="0" />
</Style>
+ <!-- TODO: temporary fix to prevent layout issue when error occurs -->
+ <Style Selector="TextBox /template/ DataValidationErrors">
+ <Setter Property="MinHeight" Value="20" />
+ </Style>
+
</Styles>
\ No newline at end of file

MODIFY
WalletWasabi.Fluent/Views/CreateWallet/ConfirmRecoveryWordsView.axaml
WalletWasabi.Fluent/Views/CreateWallet/ConfirmRecoveryWordsView.axaml
</i:Interaction.Behaviors>
<ItemsControl.ItemTemplate>
<DataTemplate>
- <DockPanel Margin="0 0 0 20" HorizontalAlignment="Left">
+ <DockPanel HorizontalAlignment="Left">
<PathIcon Classes="checkMark" Margin="15 42 0 0" Opacity="{Binding IsConfirmed, Converter={x:Static conv:BoolOpacityConverters.BoolToOpacity}}" VerticalAlignment="Top" DockPanel.Dock="Right" />
<Label Content="{Binding Index, StringFormat=Recovery word {0}}" DockPanel.Dock="Top" />
- <TextBox Watermark="Type the word here..." Text="{Binding Input}" IsEnabled="{Binding !IsConfirmed}" DockPanel.Dock="Top" Width="350" FontSize="12">
+ <TextBox Watermark="Type the word here..." Text="{Binding Input}" IsEnabled="{Binding !IsConfirmed}" DockPanel.Dock="Top" Width="350">
<i:Interaction.Behaviors>
<behaviors:FocusNextItemBehavior IsFocused="{Binding !IsConfirmed}" />
</i:Interaction.Behaviors>

MODIFY
WalletWasabi.Fluent/Views/Dialogs/EnterPasswordView.axaml
WalletWasabi.Fluent/Views/Dialogs/EnterPasswordView.axaml
<c:ContentArea Title="Enter a password"
Caption="Type your super-secret password in the blanks below and click Continue">
- <StackPanel HorizontalAlignment="Stretch" Spacing="40">
+ <StackPanel HorizontalAlignment="Stretch" Spacing="20">
<DockPanel>
<PathIcon Classes="checkMark" Margin="15 42 0 0" VerticalAlignment="Top" DockPanel.Dock="Right">

tempfix to TextBox error message layout issue