remove unused panel.
MODIFY
WalletWasabi.Fluent/Controls/ContentArea.axaml
WalletWasabi.Fluent/Controls/ContentArea.axaml
<DockPanel Name="MainDockPanel" Margin="31,0,21,0" IsVisible="{Binding !#LoadingRing.IsVisible}">
<StackPanel DockPanel.Dock="Top" Spacing="10" Margin="0 0 0 20">
<DockPanel>
- <Button Margin="-31,0,0,0" Classes="plain" Command="{Binding BackCommand}" IsVisible="{TemplateBinding EnableBack}">
+ <Button Margin="-31,0,0,0" Classes="plain" Command="{Binding BackCommand}"
+ IsVisible="{TemplateBinding EnableBack}">
<PathIcon Data="{StaticResource arrow_left_regular}" Width="16" />
</Button>
<ContentPresenter Name="PART_TitlePresenter" Content="{TemplateBinding Title}" />
<ContentPresenter Name="PART_CaptionPresenter" Content="{TemplateBinding Caption}" />
</StackPanel>
<Panel DockPanel.Dock="Bottom">
- <Button Name="PART_CancelButton" IsCancel="{TemplateBinding EnableCancel}" Classes="invisible" IsVisible="{TemplateBinding EnableCancel}" Content="{TemplateBinding CancelContent}" Margin="0,10,10,10" HorizontalAlignment="Left" Command="{Binding CancelCommand}">
+ <Button Name="PART_CancelButton" IsCancel="{TemplateBinding EnableCancel}"
+ Classes="invisible" IsVisible="{TemplateBinding EnableCancel}"
+ Content="{TemplateBinding CancelContent}" Margin="0,10,10,10"
+ HorizontalAlignment="Left" Command="{Binding CancelCommand}">
<i:Interaction.Behaviors>
- <behaviors:FocusOnAttachedBehavior IsEnabled="{Binding FocusCancel, RelativeSource={RelativeSource TemplatedParent}}" />
+ <behaviors:FocusOnAttachedBehavior
+ IsEnabled="{Binding FocusCancel, RelativeSource={RelativeSource TemplatedParent}}" />
</i:Interaction.Behaviors>
</Button>
<StackPanel Orientation="Horizontal" Spacing="30" Margin="0 10" HorizontalAlignment="Right">
- <Button IsVisible="{TemplateBinding EnableSkip}" Content="{TemplateBinding SkipContent}" Command="{Binding SkipCommand}" Classes="activeHyperLink skip" VerticalAlignment="Center" />
- <Button Name="PART_NextButton" Classes="action" IsVisible="{TemplateBinding EnableNext}" Content="{TemplateBinding NextContent}" Command="{Binding NextCommand}" IsDefault="True">
+ <Button IsVisible="{TemplateBinding EnableSkip}"
+ Content="{TemplateBinding SkipContent}" Command="{Binding SkipCommand}"
+ Classes="activeHyperLink skip" VerticalAlignment="Center" />
+ <Button Name="PART_NextButton" Classes="action"
+ IsVisible="{TemplateBinding EnableNext}"
+ Content="{TemplateBinding NextContent}" Command="{Binding NextCommand}"
+ IsDefault="True">
<i:Interaction.Behaviors>
- <behaviors:FocusOnAttachedBehavior IsEnabled="{Binding FocusNext, RelativeSource={RelativeSource TemplatedParent}}" />
+ <behaviors:FocusOnAttachedBehavior
+ IsEnabled="{Binding FocusNext, RelativeSource={RelativeSource TemplatedParent}}" />
</i:Interaction.Behaviors>
</Button>
</StackPanel>
</Panel>
- <Panel>
- <ScrollViewer HorizontalScrollBarVisibility="{TemplateBinding (ScrollViewer.HorizontalScrollBarVisibility)}"
+ <ScrollViewer
+ HorizontalScrollBarVisibility="{TemplateBinding (ScrollViewer.HorizontalScrollBarVisibility)}"
VerticalScrollBarVisibility="{TemplateBinding (ScrollViewer.VerticalScrollBarVisibility)}"
Margin="0 0 0 32" Padding="0 0 10 0">
<ContentControl Name="PART_ContentPresenter"
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" />
</ScrollViewer>
- </Panel>
</DockPanel>
</Panel>
</ControlTemplate>

remove unused panel.