Revert "统一 Manager 界面显示"

This reverts commit 4680608845.
This commit is contained in:
leo 2020-07-17 18:01:24 +08:00
parent ab9b89b4cc
commit e9c9a98384
2 changed files with 7 additions and 8 deletions

View file

@ -142,7 +142,7 @@
</Grid.Resources> </Grid.Resources>
<!-- WORKSPACE --> <!-- WORKSPACE -->
<Label Grid.Row="0" Margin="4,4,0,0" Content="WORKSPACE" Style="{StaticResource Style.Label.GroupHeader}" /> <Label Grid.Row="0" Margin="4,0,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" Background="{StaticResource Brush.BG4}"> <Grid Grid.Column="0">
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="32"/>
<RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/> <RowDefinition Height="32"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/> <RowDefinition Height="*"/>
</Grid.RowDefinitions> </Grid.RowDefinitions>
<!-- Recent Opened Repositories --> <!-- Recent Opened Repositories -->
<Label Grid.Row="0" Margin="8,4,0,0" Content="RECENTLY OPENED" Style="{StaticResource Style.Label.GroupHeader}"/> <Label Grid.Row="0" Margin="8,8,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="{StaticResource Brush.BG3}" Background="Transparent"
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,0,0,0"> <Grid Grid.Row="2" Margin="8,8,0,0">
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/>
@ -96,7 +96,6 @@
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">