mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-23 02:12:25 +08:00
ux: avoid bounds of item in branch tree change
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -127,12 +127,16 @@
|
||||
|
||||
<!-- Content Area (allows double-clicking) -->
|
||||
<Grid Grid.Column="1"
|
||||
Height="24"
|
||||
Background="Transparent"
|
||||
ColumnDefinitions="18,*,Auto,Auto"
|
||||
ColumnDefinitions="18,*,Auto,Auto,Auto"
|
||||
DoubleTapped="OnDoubleTappedBranchNode">
|
||||
|
||||
<!-- Icon -->
|
||||
<v:BranchTreeNodeIcon Grid.Column="0" IsExpanded="{Binding IsExpanded}"/>
|
||||
<v:BranchTreeNodeIcon Grid.Column="0"
|
||||
Width="18" Height="18"
|
||||
VerticalAlignment="Center"
|
||||
IsExpanded="{Binding IsExpanded}"/>
|
||||
|
||||
<!-- Name -->
|
||||
<TextBlock Grid.Column="1"
|
||||
@@ -152,7 +156,7 @@
|
||||
</Border>
|
||||
|
||||
<!-- Tracking status -->
|
||||
<v:BranchTreeNodeTrackStatusPresenter Grid.Column="2"
|
||||
<v:BranchTreeNodeTrackStatusPresenter Grid.Column="3"
|
||||
VerticalAlignment="Center"
|
||||
FontFamily="{DynamicResource Fonts.Monospace}"
|
||||
FontSize="10"
|
||||
@@ -160,8 +164,9 @@
|
||||
Background="{DynamicResource Brush.Badge}"/>
|
||||
|
||||
<!-- Filter Mode Switcher -->
|
||||
<v:FilterModeSwitchButton Grid.Column="3"
|
||||
Margin="0,0,8,0"
|
||||
<v:FilterModeSwitchButton Grid.Column="4"
|
||||
Width="12"
|
||||
Margin="4,0,8,0"
|
||||
Mode="{Binding FilterMode}"/>
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
Reference in New Issue
Block a user