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

Commit a863121

Browse files
committed
Add icon to the tabs
1 parent 43d414d commit a863121

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

src/GitHub.VisualStudio/UI/Views/PullRequestCreationView.xaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,17 @@
104104
<ControlTemplate TargetType="{x:Type TabItem}">
105105
<Border Name="Border" CornerRadius="2,2,0,0"
106106
Padding="10,3">
107-
<TextBlock
108-
x:Name="ContentSite"
109-
FontSize="12"
110-
VerticalAlignment="Center"
111-
HorizontalAlignment="Center"
112-
Foreground="#ff333333"
113-
Text="{TemplateBinding Header}" />
107+
<DockPanel>
108+
<ui:OcticonImage Icon="info" Margin="0,0,5,0" />
109+
110+
<TextBlock
111+
x:Name="ContentSite"
112+
FontSize="12"
113+
VerticalAlignment="Center"
114+
HorizontalAlignment="Center"
115+
Foreground="#ff333333"
116+
Text="{TemplateBinding Header}" />
117+
</DockPanel>
114118
</Border>
115119

116120
<ControlTemplate.Triggers>

0 commit comments

Comments
 (0)