Make chart control stretch
MODIFY
WalletWasabi.Fluent/Views/TestLineChartView.axaml
WalletWasabi.Fluent/Views/TestLineChartView.axaml
<Setter Property="BorderRadiusY" Value="4" />
</Style>
</UserControl.Styles>
- <TabControl>
+ <TabControl Background="{x:Null}">
<TabItem Header="Solid">
- <DockPanel HorizontalAlignment="Center" VerticalAlignment="Center">
+ <DockPanel HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<DockPanel DockPanel.Dock="Bottom">
<Label Content="_Fee:" Width="60" FontWeight="Normal" VerticalAlignment="Center" DockPanel.Dock="Left"/>
<Slider x:Name="CursorValue1"
Margin="0,0,30,0"/>
</DockPanel>
<c:LineChart Classes="labels cursor border yAxis yAxisTitle"
- Width="785"
- Height="428"
Values="{Binding Values}"
Labels="{Binding Labels}"
MinValue="2"
</DockPanel>
</TabItem>
<TabItem Header="LinearGradient">
- <DockPanel HorizontalAlignment="Center" VerticalAlignment="Center">
+ <DockPanel HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<DockPanel DockPanel.Dock="Bottom">
<Label Content="_Fee:" Width="60" FontWeight="Normal" VerticalAlignment="Center" DockPanel.Dock="Left"/>
<Slider x:Name="CursorValue2"
Margin="0,0,30,0"/>
</DockPanel>
<c:LineChart Classes="labels cursor border yAxis yAxisTitle"
- Width="785"
- Height="428"
Values="{Binding Values}"
Labels="{Binding Labels}"
MinValue="2"

Make chart control stretch