simplify xaml more
MODIFY
WalletWasabi.Fluent/AddWallet/CreateWallet/ConfirmRecoveryWordsView.axaml
WalletWasabi.Fluent/AddWallet/CreateWallet/ConfirmRecoveryWordsView.axaml
</i:Interaction.Behaviors>
<ItemsControl.ItemTemplate>
<DataTemplate>
- <StackPanel Margin="0 0 0 20" HorizontalAlignment="Left">
- <Label Content="{Binding Index, StringFormat=Recovery word {0}}" />
- <StackPanel Orientation="Horizontal">
- <TextBox Watermark="Type the word here..." Text="{Binding Input}" IsEnabled="{Binding !IsConfirmed}" Width="350" FontSize="12">
+ <DockPanel Margin="0 0 0 20" HorizontalAlignment="Left">
+ <PathIcon Classes="checkMark" Margin="15 42 0 0" 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">
<i:Interaction.Behaviors>
<behaviors:FocusNextItemBehavior IsFocused="{Binding !IsConfirmed}" />
</i:Interaction.Behaviors>
</TextBox>
- <PathIcon Classes="checkMark" Margin="15 10 0 0" VerticalAlignment="Top" Opacity="{Binding IsConfirmed, Converter={StaticResource BoolToOpacityConverter}}" />
- </StackPanel>
- </StackPanel>
+ </DockPanel>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>

simplify xaml more