mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-22 02:45:00 +00:00
enhance: add tooltips to various UI elements for better accessibility (#1097)
* enhance: add tooltips to various UI elements for better accessibility * refactor: simplify user string conversion
This commit is contained in:
parent
a46e52582f
commit
66517fd4bf
5 changed files with 26 additions and 7 deletions
|
@ -126,7 +126,11 @@
|
|||
</Grid.ColumnDefinitions>
|
||||
|
||||
<!-- Subject & REFS -->
|
||||
<Border Grid.Column="0" Padding="{Binding Margin}" ClipToBounds="True">
|
||||
<Border Grid.Column="0"
|
||||
Padding="{Binding Margin}"
|
||||
ClipToBounds="True"
|
||||
Background="Transparent"
|
||||
ToolTip.Tip="{Binding Subject}">
|
||||
<Grid ColumnDefinitions="Auto,Auto,*" Margin="2,0,4,0" ClipToBounds="True">
|
||||
<v:CommitStatusIndicator Grid.Column="0"
|
||||
CurrentBranch="{Binding $parent[v:Histories].CurrentBranch}"
|
||||
|
@ -159,7 +163,10 @@
|
|||
</Border>
|
||||
|
||||
<!-- Author -->
|
||||
<Grid Grid.Column="1" ColumnDefinitions="20,*" IsHitTestVisible="False">
|
||||
<Grid Grid.Column="1"
|
||||
ColumnDefinitions="20,*"
|
||||
Background="Transparent"
|
||||
ToolTip.Tip="{Binding Author}">
|
||||
<v:Avatar Grid.Column="0"
|
||||
Width="16" Height="16"
|
||||
Margin="4,0,0,0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue