ux: layout for Statistics window
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions

This commit is contained in:
leo 2024-09-24 20:50:53 +08:00
parent bc8a2cb162
commit a52ebffbf3
No known key found for this signature in database
2 changed files with 3 additions and 4 deletions

View file

@ -46,7 +46,7 @@ namespace SourceGit.Models
YAxes = [new Axis() { YAxes = [new Axis() {
TextSize = 10, TextSize = 10,
MinLimit = 0, MinLimit = 0,
SeparatorsPaint = new SolidColorPaint(SKColors.LightSlateGray) { StrokeThickness = .6f } SeparatorsPaint = new SolidColorPaint(new SKColor(0x40808080)) { StrokeThickness = 1 }
}]; }];
if (mode == StaticsticsMode.ThisWeek) if (mode == StaticsticsMode.ThisWeek)

View file

@ -11,7 +11,7 @@
x:DataType="vm:Statistics" x:DataType="vm:Statistics"
x:Name="ThisControl" x:Name="ThisControl"
Title="{DynamicResource Text.Statistics}" Title="{DynamicResource Text.Statistics}"
Width="860" Height="500" Width="800" Height="500"
WindowStartupLocation="CenterOwner" WindowStartupLocation="CenterOwner"
CanResize="False"> CanResize="False">
<Grid RowDefinitions="Auto,Auto,*"> <Grid RowDefinitions="Auto,Auto,*">
@ -63,7 +63,7 @@
<ListBox.Styles> <ListBox.Styles>
<Style Selector="ListBoxItem"> <Style Selector="ListBoxItem">
<Setter Property="Width" Value="110"/> <Setter Property="Width" Value="100"/>
<Setter Property="Height" Value="28"/> <Setter Property="Height" Value="28"/>
<Setter Property="Padding" Value="0"/> <Setter Property="Padding" Value="0"/>
<Setter Property="Background" Value="Transparent"/> <Setter Property="Background" Value="Transparent"/>
@ -82,7 +82,6 @@
<Setter Property="CornerRadius" Value="11"/> <Setter Property="CornerRadius" Value="11"/>
<Setter Property="Background" Value="Transparent"/> <Setter Property="Background" Value="Transparent"/>
<Setter Property="VerticalAlignment" Value="Center"/> <Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="Padding" Value="16,0"/>
</Style> </Style>
<Style Selector="ListBoxItem:selected Border.switcher_bg"> <Style Selector="ListBoxItem:selected Border.switcher_bg">