mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
ux: force datagrid row height to 24
This commit is contained in:
parent
1fe2be11a7
commit
3969111393
2 changed files with 7 additions and 3 deletions
|
@ -23,6 +23,7 @@
|
||||||
<DataGrid.Styles>
|
<DataGrid.Styles>
|
||||||
<Style Selector="DataGridRow" x:DataType="vm:BranchTreeNode">
|
<Style Selector="DataGridRow" x:DataType="vm:BranchTreeNode">
|
||||||
<Setter Property="CornerRadius" Value="{Binding CornerRadius}" />
|
<Setter Property="CornerRadius" Value="{Binding CornerRadius}" />
|
||||||
|
<Setter Property="Height" Value="24"/>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style Selector="DataGridRow /template/ Border#RowBorder">
|
<Style Selector="DataGridRow /template/ Border#RowBorder">
|
||||||
|
|
|
@ -219,6 +219,7 @@
|
||||||
<DataGrid.Styles>
|
<DataGrid.Styles>
|
||||||
<Style Selector="DataGridRow">
|
<Style Selector="DataGridRow">
|
||||||
<Setter Property="CornerRadius" Value="4" />
|
<Setter Property="CornerRadius" Value="4" />
|
||||||
|
<Setter Property="Height" Value="24"/>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style Selector="DataGridRow /template/ Border#RowBorder">
|
<Style Selector="DataGridRow /template/ Border#RowBorder">
|
||||||
|
@ -312,7 +313,7 @@
|
||||||
IsReadOnly="True"
|
IsReadOnly="True"
|
||||||
HeadersVisibility="None"
|
HeadersVisibility="None"
|
||||||
Focusable="False"
|
Focusable="False"
|
||||||
RowHeight="26"
|
RowHeight="24"
|
||||||
HorizontalScrollBarVisibility="Disabled"
|
HorizontalScrollBarVisibility="Disabled"
|
||||||
VerticalScrollBarVisibility="Auto"
|
VerticalScrollBarVisibility="Auto"
|
||||||
ContextRequested="OnSubmoduleContextRequested"
|
ContextRequested="OnSubmoduleContextRequested"
|
||||||
|
@ -322,6 +323,7 @@
|
||||||
<DataGrid.Styles>
|
<DataGrid.Styles>
|
||||||
<Style Selector="DataGridRow">
|
<Style Selector="DataGridRow">
|
||||||
<Setter Property="CornerRadius" Value="4" />
|
<Setter Property="CornerRadius" Value="4" />
|
||||||
|
<Setter Property="Height" Value="24"/>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style Selector="DataGridRow /template/ Border#RowBorder">
|
<Style Selector="DataGridRow /template/ Border#RowBorder">
|
||||||
|
@ -400,7 +402,7 @@
|
||||||
IsReadOnly="True"
|
IsReadOnly="True"
|
||||||
HeadersVisibility="None"
|
HeadersVisibility="None"
|
||||||
Focusable="False"
|
Focusable="False"
|
||||||
RowHeight="26"
|
RowHeight="24"
|
||||||
HorizontalScrollBarVisibility="Disabled"
|
HorizontalScrollBarVisibility="Disabled"
|
||||||
VerticalScrollBarVisibility="Auto"
|
VerticalScrollBarVisibility="Auto"
|
||||||
ContextRequested="OnWorktreeContextRequested"
|
ContextRequested="OnWorktreeContextRequested"
|
||||||
|
@ -409,7 +411,8 @@
|
||||||
IsVisible="{Binding IsWorktreeGroupExpanded, Mode=OneWay}">
|
IsVisible="{Binding IsWorktreeGroupExpanded, Mode=OneWay}">
|
||||||
<DataGrid.Styles>
|
<DataGrid.Styles>
|
||||||
<Style Selector="DataGridRow">
|
<Style Selector="DataGridRow">
|
||||||
<Setter Property="CornerRadius" Value="4" />
|
<Setter Property="CornerRadius" Value="4"/>
|
||||||
|
<Setter Property="Height" Value="24"/>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style Selector="DataGridRow /template/ Border#RowBorder">
|
<Style Selector="DataGridRow /template/ Border#RowBorder">
|
||||||
|
|
Loading…
Reference in a new issue