diff options
author | sr55 <[email protected]> | 2014-05-18 19:56:12 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2014-05-18 19:56:12 +0000 |
commit | ec522a70a2f4e584e486b9412a86a7440c2e6b50 (patch) | |
tree | 0cc34641d2fdc3eaba8e154e3fb4d8a1de2fe6a6 /win/CS/HandBrakeWPF/Views/Styles | |
parent | 24203717648fcdeff506ac6aea100d746f7b487c (diff) |
WinGui: Minor tidy up of options. Cleanup of some code warnings and some initial DPIAwareness code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6198 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/Styles')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/Styles/Styles.xaml | 14 |
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">
|