6262 <StackPanel
6363 x : Name =" HotkeyArea"
6464 Grid.Column=" 2"
65- Margin =" 0,0,10, 0"
65+ Margin =" 0 0 10 0"
6666 VerticalAlignment =" Center"
6767 Visibility =" {Binding ShowOpenResultHotkey}" >
6868 <TextBlock
6969 x : Name =" Hotkey"
70- Margin =" 12,0,12, 0"
71- Padding =" 0,0,0, 0"
70+ Margin =" 12 0 12 0"
71+ Padding =" 0 0 0 0"
7272 HorizontalAlignment =" Right"
7373 VerticalAlignment =" Center"
7474 Style =" {DynamicResource ItemHotkeyStyle}" >
9797
9898 <Border
9999 Grid.Column=" 1"
100- Margin =" 9,0,0, 0"
100+ Margin =" 9 0 0 0"
101101 BorderBrush =" Transparent"
102102 BorderThickness =" 1" >
103103 <Image
104104 x : Name =" ImageIcon"
105- Margin =" 0,0,0, 0"
105+ Margin =" 0 0 0 0"
106106 HorizontalAlignment =" Center"
107107 IsHitTestVisible =" False"
108108 RenderOptions.BitmapScalingMode=" Fant"
109109 Source =" {Binding Image, TargetNullValue={x:Null}}"
110110 Stretch =" Uniform"
111+ StretchDirection =" DownOnly"
111112 Style =" {DynamicResource ImageIconStyle}"
112113 Visibility =" {Binding ShowIcon}" >
113114 <Image .Clip>
130131 </Border >
131132 <Border
132133 Grid.Column=" 1"
133- Margin =" 9,0,0, 0"
134+ Margin =" 9 0 0 0"
134135 BorderBrush =" Transparent"
135136 BorderThickness =" 0" >
136137 <TextBlock
146147
147148 <Grid
148149 Grid.Column=" 1"
149- Margin =" 6,0,10, 0"
150+ Margin =" 6 0 10 0"
150151 HorizontalAlignment =" Stretch"
151152 VerticalAlignment =" Center" >
152153 <Grid .RowDefinitions>
172173 <TextBlock
173174 x : Name =" Title"
174175 Grid.Row=" 0"
175- Margin =" 0,0,0, 1"
176+ Margin =" 0 0 0 1"
176177 VerticalAlignment =" Bottom"
177178 DockPanel.Dock=" Left"
178179 FontSize =" {Binding Settings.ResultItemFontSize, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
192193 <TextBlock
193194 x : Name =" SubTitle"
194195 Grid.Row=" 1"
195- Margin =" 0,1,0, 0"
196+ Margin =" 0 1 0 0"
196197 VerticalAlignment =" Top"
197198 FontSize =" {Binding Settings.ResultSubItemFontSize, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
198199 IsEnabled =" False"
221222 <!-- http://stackoverflow.com/questions/16819577/setting-background-color-or-wpf-4-0-listbox-windows-8/#16820062 -->
222223 <ListBox .ItemContainerStyle>
223224 <Style TargetType =" {x:Type ListBoxItem}" >
225+ <Setter Property =" Height" Value =" {Binding Settings.ItemHeightSize}" />
226+ <Setter Property =" Visibility" Value =" Visible" />
224227 <EventSetter Event =" MouseEnter" Handler =" OnMouseEnter" />
225228 <EventSetter Event =" MouseMove" Handler =" OnMouseMove" />
226- <Setter Property =" Height" Value =" {Binding Settings.ItemHeightSize, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
227229 <Setter Property =" Margin" Value =" 0" />
228230 <Setter Property =" Padding" Value =" 0" />
229231 <Setter Property =" BorderThickness" Value =" 0" />
256258 </Setter >
257259 </Style >
258260 </ListBox .ItemContainerStyle>
259- </ListBox >
261+ </ListBox >
0 commit comments