|
249 | 249 |
|
250 | 250 | <!-- Home row --> |
251 | 251 | <Border Style="{StaticResource PluginSettingsRowBorderStyle}"> |
252 | | - <DockPanel Margin="{StaticResource SettingPanelMargin}" LastChildFill="False"> |
| 252 | + <DockPanel |
| 253 | + Margin="{StaticResource SettingPanelMargin}" |
| 254 | + LastChildFill="False"> |
253 | 255 | <TextBlock Style="{StaticResource PluginSettingsRowGlyphStyle}"> |
254 | 256 |  |
255 | 257 | </TextBlock> |
|
263 | 265 | IsOn="{Binding PluginHomeState}" |
264 | 266 | OffContent="{DynamicResource disable}" |
265 | 267 | OnContent="{DynamicResource enable}" |
266 | | - ToolTip="{DynamicResource homeToggleBoxToolTip}" /> |
| 268 | + ToolTip="{DynamicResource homeToggleBoxToolTip}" |
| 269 | + ToolTipService.ShowOnDisabled="True"> |
| 270 | + <ui:ToggleSwitch.Style> |
| 271 | + <Style |
| 272 | + BasedOn="{StaticResource {x:Type ui:ToggleSwitch}}" |
| 273 | + TargetType="ui:ToggleSwitch"> |
| 274 | + <Style.Triggers> |
| 275 | + <Trigger Property="IsEnabled" Value="False"> |
| 276 | + <Setter Property="ToolTipService.InitialShowDelay" Value="0" /> |
| 277 | + </Trigger> |
| 278 | + </Style.Triggers> |
| 279 | + </Style> |
| 280 | + </ui:ToggleSwitch.Style> |
| 281 | + </ui:ToggleSwitch> |
267 | 282 | </DockPanel> |
268 | 283 | </Border> |
269 | 284 |
|
270 | 285 | <!-- Priority row --> |
271 | 286 | <Border Style="{StaticResource PluginSettingsRowBorderStyle}"> |
272 | | - <DockPanel Margin="{StaticResource SettingPanelMargin}"> |
| 287 | + <DockPanel |
| 288 | + Margin="{StaticResource SettingPanelMargin}"> |
273 | 289 | <TextBlock Style="{StaticResource PluginSettingsRowGlyphStyle}"> |
274 | 290 |  |
275 | 291 | </TextBlock> |
276 | 292 | <TextBlock |
277 | 293 | Style="{StaticResource PluginSettingsRowLabelStyle}" |
278 | | - Text="{DynamicResource priority}" |
279 | | - ToolTip="{DynamicResource priorityToolTip}" /> |
| 294 | + Text="{DynamicResource priority}" /> |
280 | 295 | <ui:NumberBox |
281 | 296 | MinWidth="120" |
282 | 297 | Margin="0 -4.5 0 -4.5" |
|
292 | 307 |
|
293 | 308 | <!-- Search Delay row --> |
294 | 309 | <Border Style="{StaticResource PluginSettingsRowBorderStyle}"> |
295 | | - <DockPanel Margin="{StaticResource SettingPanelMargin}"> |
| 310 | + <DockPanel |
| 311 | + Margin="{StaticResource SettingPanelMargin}"> |
296 | 312 | <TextBlock Style="{StaticResource PluginSettingsRowGlyphStyle}"> |
297 | 313 |  |
298 | 314 | </TextBlock> |
299 | 315 | <TextBlock |
300 | 316 | Style="{StaticResource PluginSettingsRowLabelStyle}" |
301 | | - Text="{DynamicResource searchDelay}" |
302 | | - ToolTip="{DynamicResource searchDelayToolTip}" /> |
| 317 | + Text="{DynamicResource searchDelay}" /> |
303 | 318 | <ui:NumberBox |
304 | 319 | Width="120" |
305 | 320 | MinWidth="120" |
|
312 | 327 | SmallChange="10" |
313 | 328 | SpinButtonPlacementMode="Compact" |
314 | 329 | ToolTip="{DynamicResource searchDelayNumberBoxToolTip}" |
315 | | - ToolTipService.InitialShowDelay="0" |
316 | 330 | ToolTipService.ShowOnDisabled="True" |
317 | | - Value="{Binding PluginSearchDelayTime, Mode=TwoWay}" /> |
| 331 | + Value="{Binding PluginSearchDelayTime, Mode=TwoWay}"> |
| 332 | + <ui:NumberBox.Style> |
| 333 | + <Style |
| 334 | + BasedOn="{StaticResource {x:Type ui:NumberBox}}" |
| 335 | + TargetType="ui:NumberBox"> |
| 336 | + <Style.Triggers> |
| 337 | + <Trigger Property="IsEnabled" Value="False"> |
| 338 | + <Setter Property="ToolTipService.InitialShowDelay" Value="0" /> |
| 339 | + </Trigger> |
| 340 | + </Style.Triggers> |
| 341 | + </Style> |
| 342 | + </ui:NumberBox.Style> |
| 343 | + </ui:NumberBox> |
318 | 344 | </DockPanel> |
319 | 345 | </Border> |
320 | 346 | </StackPanel> |
|
0 commit comments