统一 Manager 界面显示

This commit is contained in:
ZCShou 2020-07-17 14:52:09 +08:00
parent 37962a6f0f
commit 4680608845
2 changed files with 8 additions and 7 deletions

View file

@ -142,7 +142,7 @@
</Grid.Resources> </Grid.Resources>
<!-- WORKSPACE --> <!-- WORKSPACE -->
<Label Grid.Row="0" Margin="4,0,0,0" Content="WORKSPACE" Style="{StaticResource Style.Label.GroupHeader}" /> <Label Grid.Row="0" Margin="4,4,0,0" Content="WORKSPACE" Style="{StaticResource Style.Label.GroupHeader}" />
<ListView <ListView
Grid.Row="1" Grid.Row="1"
x:Name="workspace" x:Name="workspace"

View file

@ -38,22 +38,22 @@
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<!-- Left panel --> <!-- Left panel -->
<Grid Grid.Column="0"> <Grid Grid.Column="0" Background="{StaticResource Brush.BG4}">
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="32"/>
<RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/>
<RowDefinition Height="32"/> <RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/> <RowDefinition Height="*"/>
</Grid.RowDefinitions> </Grid.RowDefinitions>
<!-- Recent Opened Repositories --> <!-- Recent Opened Repositories -->
<Label Grid.Row="0" Margin="8,8,0,0" Content="RECENTLY OPENED" Style="{StaticResource Style.Label.GroupHeader}"/> <Label Grid.Row="0" Margin="8,4,0,0" Content="RECENTLY OPENED" Style="{StaticResource Style.Label.GroupHeader}"/>
<ListView <ListView
x:Name="recentOpened" x:Name="recentOpened"
Grid.Row="1" Grid.Row="1"
Height="Auto" Height="Auto"
Margin="0,4" Margin="0,4"
Background="Transparent" Background="{StaticResource Brush.BG3}"
BorderThickness="0" BorderThickness="0"
Style="{StaticResource Style.ListView.Borderless}" Style="{StaticResource Style.ListView.Borderless}"
ItemContainerStyle="{StaticResource Style.ListViewItem.Borderless}" ItemContainerStyle="{StaticResource Style.ListViewItem.Borderless}"
@ -73,7 +73,7 @@
</ListView> </ListView>
<!-- Repositories' tree --> <!-- Repositories' tree -->
<Grid Grid.Row="2" Margin="8,8,0,0"> <Grid Grid.Row="2" Margin="8,0,0,0">
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/>
@ -96,6 +96,7 @@
Margin="0, 4" Margin="0, 4"
AllowDrop="True" AllowDrop="True"
ContextMenuOpening="TreeContextMenuOpening" ContextMenuOpening="TreeContextMenuOpening"
Background="{StaticResource Brush.BG3}"
Drop="TreeDrop" Drop="TreeDrop"
GotFocus="TreeGotFocus" GotFocus="TreeGotFocus"
MouseMove="TreeMouseMove"> MouseMove="TreeMouseMove">