Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 4a19ad7

Browse files
Replacing text with icons
1 parent 81f7397 commit 4a19ad7

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

src/GitHub.InlineReviews/Views/CommentView.xaml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,20 @@
7474

7575
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" DockPanel.Dock="Right"
7676
Visibility="{Binding CanEditOrDelete, Converter={ui:BooleanToVisibilityConverter}}">
77-
<ui:GitHubActionLink Content="Edit"
78-
Command="{Binding BeginEdit}"
79-
Foreground="{DynamicResource GitHubVsToolWindowText}"
80-
Opacity="0.75" />
81-
<ui:GitHubActionLink Content="Delete"
82-
Command="{Binding Delete}"
83-
Foreground="{DynamicResource GitHubVsToolWindowText}"
84-
Opacity="0.75"/>
77+
<ui:OcticonButton Command="{Binding BeginEdit}"
78+
Width="16"
79+
Height="16"
80+
Margin="0"
81+
Background="Transparent"
82+
Foreground="{DynamicResource GitHubVsToolWindowText}"
83+
Icon="pencil"/>
84+
<ui:OcticonButton Command="{Binding Delete}"
85+
Width="16"
86+
Height="16"
87+
Margin="0"
88+
Background="Transparent"
89+
Foreground="{DynamicResource GitHubVsToolWindowText}"
90+
Icon="x"/>
8591
</StackPanel>
8692

8793
</DockPanel>

0 commit comments

Comments
 (0)