Skip to content

Commit b89876f

Browse files
committed
fixed row height in treeview item template
1 parent fcdc66d commit b89876f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

RetailCoder.VBE/UI/CodeInspections/InspectionResultsControl.xaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103

104104
<DataTemplate x:Key="InspectionResultTemplate"
105105
DataType="{x:Type inspections:ICodeInspectionResult}">
106-
<StackPanel Orientation="Horizontal" Margin="2" HorizontalAlignment="Stretch">
106+
<StackPanel Orientation="Horizontal" Margin="2" Height="22" HorizontalAlignment="Stretch">
107107
<TextBlock VerticalAlignment="Center"
108108
Margin="4"
109109
Text="{Binding Name}"
@@ -116,7 +116,7 @@
116116
ItemsSource="{Binding Items}"
117117
ItemTemplate="{StaticResource InspectionResultTemplate}">
118118

119-
<StackPanel Orientation="Horizontal" Margin="2" HorizontalAlignment="Stretch">
119+
<StackPanel Orientation="Horizontal" Margin="2" HorizontalAlignment="Stretch" Height="22" >
120120
<Image Style="{StaticResource IconStyle}"
121121
Source="{Binding Name, Converter={StaticResource InspectionIconConverter}}"
122122
VerticalAlignment="Center" />
@@ -135,7 +135,7 @@
135135
DataType="{x:Type CollectionViewGroup}"
136136
ItemsSource="{Binding Items}"
137137
ItemTemplate="{StaticResource InspectionGroupsTemplate}">
138-
<StackPanel Orientation="Horizontal" Margin="2" HorizontalAlignment="Stretch">
138+
<StackPanel Orientation="Horizontal" Margin="2" HorizontalAlignment="Stretch" Height="22" >
139139
<TextBlock VerticalAlignment="Center"
140140
Text="{Binding Name}"
141141
FontWeight="Bold"
@@ -152,7 +152,7 @@
152152
ItemsSource="{Binding Items}"
153153
ItemTemplate="{StaticResource InspectionGroupsTemplate}">
154154

155-
<StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch">
155+
<StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" Height="22" >
156156
<Image Style="{StaticResource IconStyle}" Source="../../Resources/Microsoft/PNG/VSObject_Module.png" />
157157
<TextBlock VerticalAlignment="Center"
158158
Text="{Binding Name}"

0 commit comments

Comments
 (0)