Skip to content

Commit a5c25cf

Browse files
goran-wlove-linger
authored andcommitted
enhance: add border around tag name, makes tooltip work as for branches
(cherry picked from commit 6a5e6d1)
1 parent 11a9d7f commit a5c25cf

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

src/Views/TagsView.axaml

+11-9
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,11 @@
4242
Node="{Binding .}"
4343
IsExpanded="{Binding IsExpanded, Mode=OneWay}"/>
4444

45-
<TextBlock Grid.Column="2"
46-
Classes="primary"
47-
Text="{Binding FullPath, Converter={x:Static c:PathConverters.PureFileName}}"
48-
Margin="8,0,0,0"/>
45+
<Border Grid.Column="2" Background="Transparent">
46+
<TextBlock Classes="primary"
47+
Text="{Binding FullPath, Converter={x:Static c:PathConverters.PureFileName}}"
48+
Margin="8,0,0,0"/>
49+
</Border>
4950

5051
<ContentControl Grid.Column="3" Content="{Binding Tag}">
5152
<ContentControl.DataTemplates>
@@ -76,11 +77,12 @@
7677
Width="12" Height="12"
7778
Data="{StaticResource Icons.Tag}"/>
7879

79-
<TextBlock Grid.Column="1"
80-
Classes="primary"
81-
Text="{Binding Name}"
82-
Margin="8,0,0,0"
83-
TextTrimming="CharacterEllipsis"/>
80+
<Border Grid.Column="1" Background="Transparent">
81+
<TextBlock Classes="primary"
82+
Text="{Binding Name}"
83+
Margin="8,0,0,0"
84+
TextTrimming="CharacterEllipsis"/>
85+
</Border>
8486

8587
<v:FilterModeSwitchButton Grid.Column="2" Margin="0,0,12,0" Mode="{Binding FilterMode}"/>
8688
</Grid>

0 commit comments

Comments
 (0)