Skip to content

Commit 337e6ca

Browse files
committed
use Enabled and showtooltipondisabled to show tooltip
1 parent 48aaf3a commit 337e6ca

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Flow.Launcher/ResultListBox.xaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,11 @@
139139
x:Name="Title"
140140
VerticalAlignment="Center"
141141
DockPanel.Dock="Left"
142-
IsHitTestVisible="False"
143142
Style="{DynamicResource ItemTitleStyle}"
144143
Text="{Binding Result.Title}"
145-
ToolTip="{Binding ShowTitleToolTip}">
144+
ToolTip="{Binding ShowTitleToolTip}"
145+
ToolTipService.ShowOnDisabled="True"
146+
IsEnabled="False">
146147
<vm:ResultsViewModel.FormattedText>
147148
<MultiBinding Converter="{StaticResource HighlightTextConverter}">
148149
<Binding Path="Result.Title" />
@@ -153,11 +154,11 @@
153154
<TextBlock
154155
x:Name="SubTitle"
155156
Grid.Row="1"
156-
IsHitTestVisible="False"
157+
IsEnabled="False"
158+
ToolTipService.ShowOnDisabled="True"
157159
Style="{DynamicResource ItemSubTitleStyle}"
158160
Text="{Binding Result.SubTitle}"
159-
ToolTip="{Binding ShowSubTitleToolTip}" />
160-
161+
ToolTip="{Binding ShowSubTitleToolTip}"/>
161162
</Grid>
162163

163164
</Grid>

0 commit comments

Comments
 (0)