Stretch balance chart tile in normal and wide layout
MODIFY
WalletWasabi.Fluent/Helpers/TileHelper.cs
WalletWasabi.Fluent/Helpers/TileHelper.cs
@@ -114,8 +114,8 @@ namespace WalletWasabi.Fluent.Helpers
return new ObservableCollection<TileLayoutViewModel>()
{
new("Small", columnDefinitions: "330,330,330,330", rowDefinitions: "150"),
- new("Normal", columnDefinitions: "330,330,330", rowDefinitions: "150,150"),
- new("Wide", columnDefinitions: "330,330", rowDefinitions: "150,150,300")
+ new("Normal", columnDefinitions: "330,330,*", rowDefinitions: "150,150"),
+ new("Wide", columnDefinitions: "330,330", rowDefinitions: "150,150,*")
};
}
}

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/WalletTiles.axaml
WalletWasabi.Fluent/Views/Wallets/Home/WalletTiles.axaml
<Setter Property="Padding" Value="0,0,0,10"/>
</Style>
<Style Selector="ItemsControl.normalLayout">
- <Setter Property="HorizontalAlignment" Value="Left"/>
+ <Setter Property="HorizontalAlignment" Value="Stretch"/>
<Setter Property="VerticalAlignment" Value="Top"/>
<Setter Property="Margin" Value="0 0"/>
<Setter Property="Padding" Value="0,0,0,10"/>
</Style>
<Style Selector="ItemsControl.wideLayout">
<Setter Property="HorizontalAlignment" Value="Left"/>
- <Setter Property="VerticalAlignment" Value="Top"/>
+ <Setter Property="VerticalAlignment" Value="Stretch"/>
<Setter Property="Margin" Value="0 0"/>
<Setter Property="Padding" Value="0,0,10,0"/>
</Style>

MODIFY
WalletWasabi.Fluent/Views/Wallets/WalletView.axaml
WalletWasabi.Fluent/Views/Wallets/WalletView.axaml
<Setter Property="(DockPanel.Dock)" Value="Top"/>
</Style>
<Style Selector="Panel.normalLayout">
- <Setter Property="HorizontalAlignment" Value="Left"/>
+ <Setter Property="HorizontalAlignment" Value="Stretch"/>
<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="VerticalAlignment" Value="Stretch"/>
<Setter Property="Margin" Value="0,0,11,0"/>
<Setter Property="(DockPanel.Dock)" Value="Left"/>
</Style>

Stretch balance chart tile in normal and wide layout