Add tile presets for BtcPriceTileView
MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/BtcPrice/BtcPriceNormalTileView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/BtcPrice/BtcPriceNormalTileView.axaml
mc:Ignorable="d" d:DesignWidth="330" d:DesignHeight="330"
x:CompileBindings="True" x:DataType="vm:BtcPriceTileViewModel"
x:Class="WalletWasabi.Fluent.Views.Wallets.Home.Tiles.BtcPrice.BtcPriceNormalTileView">
-
+ <Border ClipToBounds="False" CornerRadius="5" Background="{DynamicResource TileRegionColor}" Margin="6" Padding="16" BoxShadow="{DynamicResource InfoBoxShadow}">
+ <DockPanel>
+ <TextBlock Text="BTC Price" DockPanel.Dock="Top" />
+ <StackPanel DockPanel.Dock="Left" Orientation="Horizontal" Spacing="5" VerticalAlignment="Center">
+ <PathIcon Data="{StaticResource paper_cash_regular}" Height="30" Width="35" Margin="0 0 20 0" Foreground="{DynamicResource SystemAccentColor}" />
+ <TextBlock Text="{Binding BtcPrice, FallbackValue='53 540.00'}" FontSize="24" />
+ <TextBlock Text="USD" FontSize="24" />
+ </StackPanel>
+ </DockPanel>
+ </Border>
</UserControl>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/BtcPrice/BtcPriceSmallTileView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/BtcPrice/BtcPriceSmallTileView.axaml
mc:Ignorable="d" d:DesignWidth="330" d:DesignHeight="150"
x:CompileBindings="True" x:DataType="vm:BtcPriceTileViewModel"
x:Class="WalletWasabi.Fluent.Views.Wallets.Home.Tiles.BtcPrice.BtcPriceSmallTileView">
-
+ <Border ClipToBounds="False" CornerRadius="5" Background="{DynamicResource TileRegionColor}" Margin="6" Padding="16" BoxShadow="{DynamicResource InfoBoxShadow}">
+ <DockPanel>
+ <TextBlock Text="BTC Price" DockPanel.Dock="Top" />
+ <StackPanel DockPanel.Dock="Left" Orientation="Horizontal" Spacing="5" VerticalAlignment="Center">
+ <PathIcon Data="{StaticResource paper_cash_regular}" Height="30" Width="35" Margin="0 0 20 0" Foreground="{DynamicResource SystemAccentColor}" />
+ <TextBlock Text="{Binding BtcPrice, FallbackValue='53 540.00'}" FontSize="24" />
+ <TextBlock Text="USD" FontSize="24" />
+ </StackPanel>
+ </DockPanel>
+ </Border>
</UserControl>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/BtcPrice/BtcPriceWideTileView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/BtcPrice/BtcPriceWideTileView.axaml
mc:Ignorable="d" d:DesignWidth="660" d:DesignHeight="330"
x:CompileBindings="True" x:DataType="vm:BtcPriceTileViewModel"
x:Class="WalletWasabi.Fluent.Views.Wallets.Home.Tiles.BtcPrice.BtcPriceWideTileView">
-
+ <Border ClipToBounds="False" CornerRadius="5" Background="{DynamicResource TileRegionColor}" Margin="6" Padding="16" BoxShadow="{DynamicResource InfoBoxShadow}">
+ <DockPanel>
+ <TextBlock Text="BTC Price" DockPanel.Dock="Top" />
+ <StackPanel DockPanel.Dock="Left" Orientation="Horizontal" Spacing="5" VerticalAlignment="Center">
+ <PathIcon Data="{StaticResource paper_cash_regular}" Height="30" Width="35" Margin="0 0 20 0" Foreground="{DynamicResource SystemAccentColor}" />
+ <TextBlock Text="{Binding BtcPrice, FallbackValue='53 540.00'}" FontSize="24" />
+ <TextBlock Text="USD" FontSize="24" />
+ </StackPanel>
+ </DockPanel>
+ </Border>
</UserControl>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/BtcPriceTileView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/BtcPriceTileView.axaml
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="using:WalletWasabi.Fluent.ViewModels.Wallets.Home.Tiles"
- mc:Ignorable="d" d:DesignWidth="310" d:DesignHeight="150"
+ xmlns:bp="clr-namespace:WalletWasabi.Fluent.Views.Wallets.Home.Tiles.BtcPrice"
+ mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:CompileBindings="True" x:DataType="vm:BtcPriceTileViewModel"
x:Class="WalletWasabi.Fluent.Views.Wallets.Home.Tiles.BtcPriceTileView">
- <Border ClipToBounds="False" CornerRadius="5" Background="{DynamicResource TileRegionColor}" Margin="6" Padding="16" BoxShadow="{DynamicResource InfoBoxShadow}">
- <DockPanel>
- <TextBlock Text="BTC Price" DockPanel.Dock="Top" />
- <StackPanel DockPanel.Dock="Left" Orientation="Horizontal" Spacing="5" VerticalAlignment="Center">
- <PathIcon Data="{StaticResource paper_cash_regular}" Height="30" Width="35" Margin="0 0 20 0" Foreground="{DynamicResource SystemAccentColor}" />
- <TextBlock Text="{Binding BtcPrice, FallbackValue='53 540.00'}" FontSize="24" />
- <TextBlock Text="USD" FontSize="24" />
- </StackPanel>
- </DockPanel>
- </Border>
+ <Panel>
+ <bp:BtcPriceSmallTileView IsVisible="{Binding IsSmallPreset}"/>
+ <bp:BtcPriceNormalTileView IsVisible="{Binding IsNormalPreset}"/>
+ <bp:BtcPriceWideTileView IsVisible="{Binding IsWidePreset}"/>
+ </Panel>
</UserControl>

Add tile presets for BtcPriceTileView