Add tiles control placeholder
MODIFY
WalletWasabi.Fluent/Views/Wallets/WalletView.axaml
WalletWasabi.Fluent/Views/Wallets/WalletView.axaml
Height="{Binding HeightSource, Mode=TwoWay}"
x:CompileBindings="False"/>
</i:Interaction.Behaviors>
+ <Panel Classes.smallLayout="{Binding IsSmallLayout}"
+ Classes.normalLayout="{Binding IsNormalLayout}"
+ Classes.wideLayout="{Binding IsWideLayout}"
+ Classes.isEmptyWallet="{Binding History.IsWalletEmpty}">
+ <Panel.Styles>
+ <Style Selector="Panel.smallLayout">
+ <Setter Property="HorizontalAlignment" Value="Left"/>
+ <Setter Property="VerticalAlignment" Value="Top"/>
+ <Setter Property="Margin" Value="0,0,0,11"/>
+ <Setter Property="(DockPanel.Dock)" Value="Top"/>
+ </Style>
+ <Style Selector="Panel.normalLayout">
+ <Setter Property="HorizontalAlignment" Value="Left"/>
+ <Setter Property="VerticalAlignment" Value="Top"/>
+ <Setter Property="Margin" Value="0,0,0,11"/>
+ <Setter Property="(DockPanel.Dock)" Value="Top"/>
+ </Style>
+ <Style Selector="Panel.wideLayout">
+ <Setter Property="HorizontalAlignment" Value="Left"/>
+ <Setter Property="VerticalAlignment" Value="Top"/>
+ <Setter Property="Margin" Value="0,0,11,0"/>
+ <Setter Property="(DockPanel.Dock)" Value="Left"/>
+ </Style>
+ <Style Selector="Panel.isEmptyWallet">
+ <Setter Property="HorizontalAlignment" Value="Stretch"/>
+ <Setter Property="VerticalAlignment" Value="Stretch"/>
+ </Style>
+ </Panel.Styles>
<ScrollViewer Name="ScrollViewer"
+ IsVisible="{Binding !History.IsWalletEmpty}"
Classes.smallLayout="{Binding IsSmallLayout}"
Classes.normalLayout="{Binding IsNormalLayout}"
Classes.wideLayout="{Binding IsWideLayout}">
<ScrollViewer.Styles>
<Style Selector="ScrollViewer.smallLayout">
- <Setter Property="HorizontalAlignment" Value="Left"/>
- <Setter Property="VerticalAlignment" Value="Top"/>
<Setter Property="HorizontalScrollBarVisibility" Value="Auto"/>
<Setter Property="VerticalScrollBarVisibility" Value="Auto"/>
- <Setter Property="Margin" Value="0,0,0,11"/>
- <Setter Property="(DockPanel.Dock)" Value="Top"/>
</Style>
<Style Selector="ScrollViewer.normalLayout">
- <Setter Property="HorizontalAlignment" Value="Left"/>
- <Setter Property="VerticalAlignment" Value="Top"/>
<Setter Property="HorizontalScrollBarVisibility" Value="Auto"/>
<Setter Property="VerticalScrollBarVisibility" Value="Auto"/>
- <Setter Property="Margin" Value="0,0,0,11"/>
- <Setter Property="(DockPanel.Dock)" Value="Top"/>
</Style>
<Style Selector="ScrollViewer.wideLayout">
- <Setter Property="HorizontalAlignment" Value="Left"/>
- <Setter Property="VerticalAlignment" Value="Top"/>
<Setter Property="HorizontalScrollBarVisibility" Value="Auto"/>
<Setter Property="VerticalScrollBarVisibility" Value="Auto"/>
- <Setter Property="Margin" Value="0,0,11,0"/>
- <Setter Property="(DockPanel.Dock)" Value="Left"/>
</Style>
</ScrollViewer.Styles>
<i:Interaction.Behaviors>
</ItemsControl.ItemTemplate>
</ItemsControl>
</ScrollViewer>
+ <Border ClipToBounds="False"
+ CornerRadius="5"
+ Background="{DynamicResource TileRegionColor}"
+ Margin="6"
+ Padding="16"
+ BoxShadow="{DynamicResource InfoBoxShadow}"
+ DataContext="{Binding History}"
+ IsVisible="{Binding IsWalletEmpty}">
+ <Label Content="Please click Send or Receive buttons to start using your wallet."
+ HorizontalAlignment="Center"
+ VerticalAlignment="Center"/>
+ </Border>
+ </Panel>
<Panel>
<history:HistoryTable Name="HistoryTable"
DataContext="{Binding History}"
Padding="16"
BoxShadow="{DynamicResource InfoBoxShadow}"
DataContext="{Binding History}"
- <Label Content="No transaction history. Please click Send or Receive buttons to start using your wallet."
IsVisible="{Binding IsWalletEmpty}">
+ <Label Content="No transaction history."
HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</Border>

Add tiles control placeholder