mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-29 16:14:59 +00:00
enhance: remember the height/width of commit list and detail panel in histories page (#472)
This commit is contained in:
parent
6d92b7fc8c
commit
1a4d3d0086
2 changed files with 42 additions and 2 deletions
|
@ -10,8 +10,19 @@
|
|||
x:Class="SourceGit.Views.Histories"
|
||||
x:DataType="vm:Histories"
|
||||
x:Name="ThisControl">
|
||||
<v:LayoutableGrid RowDefinitions="*,3,*" ColumnDefinitions="*,3,*"
|
||||
UseHorizontal="{Binding Source={x:Static vm:Preference.Instance}, Path=UseTwoColumnsLayoutInHistories}">
|
||||
<v:LayoutableGrid UseHorizontal="{Binding Source={x:Static vm:Preference.Instance}, Path=UseTwoColumnsLayoutInHistories}">
|
||||
<v:LayoutableGrid.RowDefinitions>
|
||||
<RowDefinition Height="{Binding TopArea, Mode=TwoWay}"/>
|
||||
<RowDefinition Height="3"/>
|
||||
<RowDefinition Height="{Binding BottomArea, Mode=TwoWay}"/>
|
||||
</v:LayoutableGrid.RowDefinitions>
|
||||
|
||||
<v:LayoutableGrid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="{Binding LeftArea, Mode=TwoWay}"/>
|
||||
<ColumnDefinition Width="3"/>
|
||||
<ColumnDefinition Width="{Binding RightArea, Mode=TwoWay}"/>
|
||||
</v:LayoutableGrid.ColumnDefinitions>
|
||||
|
||||
<Grid Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3">
|
||||
<Grid RowDefinitions="24,*">
|
||||
<!-- Headers -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue