summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Views/Styles/Styles.xaml
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/Styles/Styles.xaml')
-rw-r--r--win/CS/HandBrakeWPF/Views/Styles/Styles.xaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Views/Styles/Styles.xaml b/win/CS/HandBrakeWPF/Views/Styles/Styles.xaml
index 2472a6b28..bac308784 100644
--- a/win/CS/HandBrakeWPF/Views/Styles/Styles.xaml
+++ b/win/CS/HandBrakeWPF/Views/Styles/Styles.xaml
@@ -9,6 +9,20 @@
</Style.Triggers>
</Style>
+ <Style x:Key="LongToolTipHolder" TargetType="FrameworkElement">
+ <Setter Property="ToolTipService.ShowDuration" Value="20000" />
+ </Style>
+
+ <Style TargetType="ToolTip">
+ <Setter Property="ContentTemplate">
+ <Setter.Value>
+ <DataTemplate>
+ <TextBlock TextWrapping="Wrap" Width="450" Text="{Binding}" />
+ </DataTemplate>
+ </Setter.Value>
+ </Setter>
+ </Style>
+
<Style x:Key="whiteUserControlStyle" TargetType="UserControl">
<Style.Triggers>
<DataTrigger Binding="{Binding UseSystemColours}" Value="False">