summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/App.xaml.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-06-08 19:26:52 +0100
committersr55 <[email protected]>2017-06-08 19:26:52 +0100
commit65c7b2acbdb569970ae27205a6f6dd1de7564722 (patch)
treea06c6d1acfbed5ca7ea20ae916dda885ee0bdb42 /win/CS/HandBrakeWPF/App.xaml.cs
parent1aa9b897b0c03216683e1b0b1148bd5cda2e4f0c (diff)
WinGui: Set a app wide 15 second default for tooltips up from the standard 5 seconds. In some select cases it's overridden to 20. Seems like a more reasonable compromise vs being too short and requiring too many attempts to hover over controls. Fixes #718
Diffstat (limited to 'win/CS/HandBrakeWPF/App.xaml.cs')
-rw-r--r--win/CS/HandBrakeWPF/App.xaml.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/App.xaml.cs b/win/CS/HandBrakeWPF/App.xaml.cs
index 39eb6c0bc..458d418f8 100644
--- a/win/CS/HandBrakeWPF/App.xaml.cs
+++ b/win/CS/HandBrakeWPF/App.xaml.cs
@@ -13,6 +13,7 @@ namespace HandBrakeWPF
using System.IO;
using System.Linq;
using System.Windows;
+ using System.Windows.Controls;
using Caliburn.Micro;
@@ -36,6 +37,8 @@ namespace HandBrakeWPF
Application.Current.Dispatcher.UnhandledException += this.Dispatcher_UnhandledException;
AppDomain.CurrentDomain.UnhandledException +=
this.CurrentDomain_UnhandledException;
+
+ ToolTipService.ShowDurationProperty.OverrideMetadata(typeof(DependencyObject), new FrameworkPropertyMetadata(12000));
}
/// <summary>