add flyout menu to the small size
MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletBalanceChart/WalletBalanceChartSmallTileView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletBalanceChart/WalletBalanceChartSmallTileView.axaml
<DockPanel>
<DockPanel DockPanel.Dock="Top" HorizontalAlignment="Stretch" Margin="0,0,30,0">
<TextBlock Text="Balance over time" DockPanel.Dock="Left"/>
- <StackPanel Orientation="Horizontal" Spacing="10" DockPanel.Dock="Right">
- <RadioButton Classes="text" Content="All" Command="{Binding AllCommand}" />
- <RadioButton Classes="text" Content="1D" Command="{Binding DayCommand}" />
- <RadioButton Classes="text" Content="1W" Command="{Binding WeekCommand}" />
- <RadioButton Classes="text" Content="1M" Command="{Binding MonthCommand}" />
- <RadioButton Classes="text" Content="3M" Command="{Binding ThreeMonthCommand}" IsChecked="True" />
- <RadioButton Classes="text" Content="6M" Command="{Binding SixMonthCommand}" />
- <RadioButton Classes="text" Content="1Y" Command="{Binding YearCommand}" />
- </StackPanel>
- <Panel/>
+ <Button Classes="plain" DockPanel.Dock="Right" HorizontalAlignment="Right" Margin="0 0 0 -3">
+ <Button.Flyout>
+ <MenuFlyout Placement="Bottom" >
+ <MenuItem Header="All" Command="{Binding AllCommand}" />
+ <MenuItem Header="1D" Command="{Binding DayCommand}" />
+ <MenuItem Header="1W" Command="{Binding WeekCommand}" />
+ <MenuItem Header="1M" Command="{Binding MonthCommand}" />
+ <MenuItem Header="3M" Command="{Binding ThreeMonthCommand}" />
+ <MenuItem Header="6M" Command="{Binding SixMonthCommand}" />
+ <MenuItem Header="1Y" Command="{Binding YearCommand}" />
+ </MenuFlyout>
+ </Button.Flyout>
+ <PathIcon Data="{StaticResource more_regular}" Foreground="{DynamicResource TextForegroundColor}" />
+ </Button>
</DockPanel>
<c:LineChart x:CompileBindings="True" x:DataType="vm:WalletBalanceChartTileViewModel" x:Name="GradientLineChart" DockPanel.Dock="Left" Margin="30"
Classes="area border xAxis xAxisLabels yAxis yAxisLabels"

add flyout menu to the small size