]> granicus.if.org Git - handbrake/commitdiff
WinGui: Set a app wide 15 second default for tooltips up from the standard 5 seconds...
authorsr55 <sr55.hb@outlook.com>
Thu, 8 Jun 2017 18:26:52 +0000 (19:26 +0100)
committersr55 <sr55.hb@outlook.com>
Thu, 8 Jun 2017 18:26:52 +0000 (19:26 +0100)
win/CS/HandBrakeWPF/App.xaml.cs

index 39eb6c0bc3338019919eb011ed3f869b69dc619d..458d418f84c83c2254c2b436251314dea07d26b2 100644 (file)
@@ -13,6 +13,7 @@ namespace HandBrakeWPF
     using System.IO;\r
     using System.Linq;\r
     using System.Windows;\r
+    using System.Windows.Controls;\r
 \r
     using Caliburn.Micro;\r
 \r
@@ -36,6 +37,8 @@ namespace HandBrakeWPF
             Application.Current.Dispatcher.UnhandledException += this.Dispatcher_UnhandledException;\r
             AppDomain.CurrentDomain.UnhandledException +=\r
                 this.CurrentDomain_UnhandledException;\r
+\r
+            ToolTipService.ShowDurationProperty.OverrideMetadata(typeof(DependencyObject), new FrameworkPropertyMetadata(12000));\r
         }\r
 \r
         /// <summary>\r