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

Commit 0559b37

Browse files
committed
Make it even more like GHD
1 parent 11f61ff commit 0559b37

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/GitHub.VisualStudio/UI/Views/Controls/PullRequestListItem.xaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<Grid>
1919
<Grid.RowDefinitions>
2020
<RowDefinition Height="Auto" />
21-
<RowDefinition Height="*" />
21+
<RowDefinition Height="Auto" />
2222
</Grid.RowDefinitions>
2323
<Grid.ColumnDefinitions>
2424
<ColumnDefinition Width="Auto" />
@@ -45,13 +45,13 @@
4545
FontFamily="Segoe UI"
4646
FontSize="14"
4747
Foreground="{DynamicResource GitHubVsToolWindowText}"
48-
LineHeight="18"
49-
LineStackingStrategy="BlockLineHeight"
50-
Margin="0,-3,10,2"
48+
Margin="0,-3,5,0"
5149
Text="{Binding Title}"
50+
ToolTip="{Binding Title}"
5251
TextTrimming="CharacterEllipsis" />
5352
<ui:OcticonImage x:Name="comment_icon"
5453
Grid.Row="0"
54+
Grid.RowSpan="2"
5555
Grid.Column="2"
5656
Icon="comment"
5757
Margin="5,0"
@@ -74,6 +74,7 @@
7474

7575
<TextBlock x:Name="comment_count"
7676
Grid.Row="0"
77+
Grid.RowSpan="2"
7778
Grid.Column="3"
7879
HorizontalAlignment="Left"
7980
VerticalAlignment="Center"
@@ -94,11 +95,12 @@
9495

9596
<ui:OcticonImage x:Name="comment_new"
9697
Grid.Row="0"
98+
Grid.RowSpan="2"
9799
Grid.Column="4"
98100
Width="10"
99101
Height="10"
100102
HorizontalAlignment="Right"
101-
VerticalAlignment="Top"
103+
VerticalAlignment="Center"
102104
Margin="0,3"
103105
Foreground="Green"
104106
Icon="primitive_dot"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
<Style x:Key="PullRequestListItemContainerStyle" TargetType="{x:Type ListViewItem}">
3636
<Setter Property="SnapsToDevicePixels" Value="True" />
37-
<Setter Property="Margin" Value="0,0,0,15" />
37+
<Setter Property="Margin" Value="0,0,0,10" />
3838
<Setter Property="Padding" Value="1" />
3939

4040
<Setter Property="HorizontalContentAlignment" Value="Stretch" />

0 commit comments

Comments
 (0)