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>
<!-- 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
Grid.Row="1"
x:Name="workspace"

View file

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