Skip to content

Commit

Permalink
Fix layout issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ichthus1604 committed May 6, 2024
1 parent 2f9e810 commit 9a192cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions WalletWasabi.Fluent/Controls/AmountControl.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
<Setter Property="Template">
<ControlTemplate>
<Border Background="{DynamicResource TileRegionColor}"
Padding="10" CornerRadius="10">
<StackPanel Orientation="Horizontal" Spacing="10"
DataContext="{Binding Path=Amount, RelativeSource={RelativeSource TemplatedParent}}"
IsVisible="{Binding Path=Amount, RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static ObjectConverters.IsNotNull}}">
Padding="10 5 10 5" CornerRadius="10"
DataContext="{Binding Path=Amount, RelativeSource={RelativeSource TemplatedParent}}"
IsVisible="{Binding Path=Amount, RelativeSource={RelativeSource TemplatedParent}, Converter={x:Static ObjectConverters.IsNotNull}}">
<StackPanel Orientation="Horizontal" Spacing="10">
<TextBlock Classes="monoSpaced" TextWrapping="Wrap"
Text="{Binding Btc, Converter={x:Static converters:MoneyConverters.ToBtc}}"/>
<TextBlock Classes="monoSpaced" TextWrapping="Wrap"
Expand Down
2 changes: 1 addition & 1 deletion WalletWasabi.Fluent/Controls/ContentArea.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<ProgressRing Name="LoadingRing" IsIndeterminate="True" IsVisible="{TemplateBinding IsBusy}" />
<DockPanel Name="MainDockPanel" IsVisible="{Binding !#LoadingRing.IsVisible}">

<DockPanel DockPanel.Dock="Bottom" x:Name="PART_ButtonArea">
<DockPanel DockPanel.Dock="Bottom" x:Name="PART_ButtonArea" Margin="0 0 0 10">
<Button Name="PART_CancelButton"
Classes="invisible"
IsVisible="{TemplateBinding EnableCancel}"
Expand Down

0 comments on commit 9a192cc

Please sign in to comment.