mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
统一 Manager 界面显示
This commit is contained in:
parent
37962a6f0f
commit
4680608845
2 changed files with 8 additions and 7 deletions
|
@ -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"
|
||||||
|
|
|
@ -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">
|
||||||
|
|
Loading…
Reference in a new issue