use TileButton on transaction broadcaster
MODIFY
WalletWasabi.Fluent/Views/AddWallet/AddWalletPageView.axaml
WalletWasabi.Fluent/Views/AddWallet/AddWalletPageView.axaml
Icon="{StaticResource recover_arrow_right_regular}"
Command="{Binding RecoverWalletCommand}"/>
- <!-- <StackPanel.Styles> -->
- <!-- <Style Selector="Button"> -->
- <!-- <Setter Property="HorizontalAlignment" Value="Stretch" /> -->
- <!-- <Setter Property="BorderThickness" Value="1" /> -->
- <!-- <Setter Property="Padding" Value="0" /> -->
- <!-- <Setter Property="IsEnabled" Value="{Binding OptionsEnabled}" /> -->
- <!-- <Setter Property="Opacity" Value="{Binding OptionsEnabled, Converter={x:Static conv:BoolOpacityConverters.BoolToOpacity}}" /> -->
- <!-- <Setter Property="IsVisible" x:CompileBindings="False" Value="{Binding $self.Opacity, Converter={x:Static conv:BoolOpacityConverters.OpacityToBool}}" /> -->
- <!-- </Style> -->
- <!-- <Style Selector="Button.option:disabled /template/ ContentPresenter#PART_ContentPresenter"> -->
- <!-- <Setter Property="Background" Value="{DynamicResource OptionButtonBackground}" /> -->
- <!-- </Style> -->
- <!-- </StackPanel.Styles> -->
-
- <!-- <Button Classes="option" Command="{Binding CreateWalletCommand}"> -->
- <!-- <StackPanel Orientation="Horizontal"> -->
- <!-- <PathIcon DockPanel.Dock="Left" Margin="20" Data="{StaticResource add_regular}" Width="16" -->
- <!-- VerticalAlignment="Center" /> -->
- <!-- <TextBlock Text="Create a new wallet" VerticalAlignment="Center" /> -->
- <!-- </StackPanel> -->
- <!-- </Button> -->
- <!-- -->
- <!-- <Button Classes="option" Command="{Binding RecoverWalletCommand}"> -->
- <!-- <StackPanel Orientation="Horizontal"> -->
- <!-- <PathIcon DockPanel.Dock="Left" Margin="20" -->
- <!-- Data="{StaticResource recover_arrow_right_regular}" -->
- <!-- Width="16" VerticalAlignment="Center" /> -->
- <!-- <TextBlock Text="Recover a wallet" VerticalAlignment="Center" /> -->
- <!-- </StackPanel> -->
- <!-- </Button> -->
- <!-- -->
- <!-- <Button Classes="option" Command="{Binding ImportWalletCommand}"> -->
- <!-- <StackPanel Orientation="Horizontal"> -->
- <!-- <PathIcon DockPanel.Dock="Left" Margin="20" Data="{StaticResource import_regular}" -->
- <!-- Width="16" -->
- <!-- VerticalAlignment="Center" /> -->
- <!-- <TextBlock Text="Import a wallet" VerticalAlignment="Center" /> -->
- <!-- </StackPanel> -->
- <!-- </Button> -->
- <!-- -->
- <!-- <Button Classes="option" Command="{Binding ConnectHardwareWalletCommand}"> -->
- <!-- <StackPanel Orientation="Horizontal"> -->
- <!-- <PathIcon DockPanel.Dock="Left" Margin="20" Data="{StaticResource web_asset_regular}" -->
- <!-- Width="16" VerticalAlignment="Center" /> -->
- <!-- <TextBlock Text="Connect to hardware wallet" VerticalAlignment="Center" /> -->
- <!-- </StackPanel> -->
- <!-- </Button> -->
</WrapPanel>
</ScrollViewer>
</DockPanel>

MODIFY
WalletWasabi.Fluent/Views/TransactionBroadcasting/LoadTransactionView.axaml
WalletWasabi.Fluent/Views/TransactionBroadcasting/LoadTransactionView.axaml
<c:ContentArea Title="Transaction Broadcaster"
Caption="Paste or import the transaction and broadcast it to the network."
EnableCancel="True">
- <c:ContentArea.Styles>
- <Style Selector="Panel > PathIcon">
- <Setter Property="Width" Value="80"/>
- <Setter Property="Height" Value="80"/>
- <Setter Property="Opacity" Value="0.8"/>
- </Style>
- <Style Selector="Panel > TextBlock">
- <Setter Property="Margin" Value="0 0 0 15"/>
- <Setter Property="HorizontalAlignment" Value="Center"/>
- <Setter Property="VerticalAlignment" Value="Bottom"/>
- </Style>
- <Style Selector="StackPanel > Button">
- <Setter Property="Width" Value="250"/>
- <Setter Property="Height" Value="250"/>
- </Style>
- </c:ContentArea.Styles>
<StackPanel Orientation="Horizontal" Spacing="50" HorizontalAlignment="Center" VerticalAlignment="Center">
-
- <Button Classes="option" Command="{Binding ImportTransactionCommand}">
- <Panel>
- <TextBlock Text="Import transaction" />
- <PathIcon Data="{StaticResource folder_move_regular}" />
- </Panel>
- </Button>
-
- <Button Classes="option">
- <Panel>
- <TextBlock Text="Paste from clipboard" />
- <PathIcon Data="{StaticResource clipboard_text_regular}" />
- </Panel>
- </Button>
-
+ <c:TileButton Text="Import transaction"
+ Icon="{StaticResource folder_move_regular}"
+ Command="{Binding ImportTransactionCommand}"/>
+ <c:TileButton Text="Paste from clipboard"
+ Icon="{StaticResource clipboard_text_regular}"
+ Command="{Binding PasteCommand}"/>
</StackPanel>
</c:ContentArea>
</UserControl>
\ No newline at end of file

use TileButton on transaction broadcaster