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

Commit 1e11c62

Browse files
committed
Tweaked visual styling of LinkDropDown.
1 parent 020b93a commit 1e11c62

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/GitHub.VisualStudio/Styles/LinkDropDown.xaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
</Style>
4040

4141
<Style TargetType="{x:Type ui:LinkDropDown}">
42-
<Setter Property="Foreground" Value="#FF0E70C0"/>
42+
<Setter Property="Foreground" Value="{DynamicResource GitHubActionLinkItemBrush}"/>
4343
<Setter Property="Template">
4444
<Setter.Value>
4545
<ControlTemplate TargetType="ui:LinkDropDown">
@@ -52,10 +52,16 @@
5252
AllowsTransparency="True"
5353
IsOpen="{TemplateBinding IsDropDownOpen}"
5454
Placement="Bottom">
55+
<Popup.Resources>
56+
<Style BasedOn="{StaticResource {x:Type ComboBoxItem}}" TargetType="{x:Type ComboBoxItem}">
57+
<Setter Property="Padding" Value="3" />
58+
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
59+
</Style>
60+
</Popup.Resources>
5561
<Border Style="{DynamicResource GitHubComboBoxBorder}">
5662
<DockPanel Style="{DynamicResource GitHubComboBoxDockPanelContainer}"
5763
MinWidth="100">
58-
<ScrollViewer>
64+
<ScrollViewer VerticalScrollBarVisibility="Auto">
5965
<ItemsPresenter/>
6066
</ScrollViewer>
6167
</DockPanel>

0 commit comments

Comments
 (0)