style<RevisionCompare>: change layout for titlebar

This commit is contained in:
leo 2021-05-17 18:40:43 +08:00
parent a46fceeea6
commit a659e7db4b

View file

@ -13,15 +13,17 @@
<RowDefinition Height="*"/> <RowDefinition Height="*"/>
</Grid.RowDefinitions> </Grid.RowDefinitions>
<Grid Grid.Row="0" HorizontalAlignment="Center"> <Grid Grid.Row="0">
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition Width="360"/> <ColumnDefinition Width="64"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="48"/> <ColumnDefinition Width="48"/>
<ColumnDefinition Width="360"/> <ColumnDefinition Width="*"/>
<ColumnDefinition Width="64"/>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<Border <Border
Grid.Column="0" Grid.Column="1"
BorderBrush="{StaticResource Brush.Border2}" BorderBrush="{StaticResource Brush.Border2}"
BorderThickness="1" BorderThickness="1"
Background="{StaticResource Brush.Contents}" Background="{StaticResource Brush.Contents}"
@ -56,7 +58,7 @@
</Border> </Border>
<Path <Path
Grid.Column="1" Grid.Column="2"
Width="16" Height="16" Width="16" Height="16"
Fill="{StaticResource Brush.FG2}" Fill="{StaticResource Brush.FG2}"
Data="{StaticResource Icon.Down}" Data="{StaticResource Icon.Down}"
@ -67,7 +69,7 @@
</Path> </Path>
<Border <Border
Grid.Column="2" Grid.Column="3"
BorderBrush="{StaticResource Brush.Border2}" BorderBrush="{StaticResource Brush.Border2}"
BorderThickness="1" BorderThickness="1"
Background="{StaticResource Brush.Contents}" Background="{StaticResource Brush.Contents}"