summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2021-02-17 21:21:53 +0000
committersr55 <[email protected]>2021-02-17 21:21:53 +0000
commitec04633356d5519bd6f8b66c9ecb357999532978 (patch)
tree0641a608d78fa9645c27fa3cae452d42af46733b
parent0edac3da81b0e1f2636b3ef7905c81758c6be018 (diff)
WinGui: Fix a small theme issue with default context menus on controls. Fixes #3407
-rw-r--r--win/CS/HandBrakeWPF/Themes/Dark.xaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Themes/Dark.xaml b/win/CS/HandBrakeWPF/Themes/Dark.xaml
index da14fe63a..7abf4ae70 100644
--- a/win/CS/HandBrakeWPF/Themes/Dark.xaml
+++ b/win/CS/HandBrakeWPF/Themes/Dark.xaml
@@ -45,6 +45,15 @@
<!-- Text Entry Controls -->
<Style TargetType="TextBox" BasedOn="{StaticResource {x:Type TextBox}}">
<Setter Property="Background" Value="{DynamicResource Ui.Light}" />
+ <Setter Property="ContextMenu">
+ <Setter.Value>
+ <ContextMenu>
+ <MenuItem Command="ApplicationCommands.Copy" />
+ <MenuItem Command="ApplicationCommands.Cut" />
+ <MenuItem Command="ApplicationCommands.Paste" />
+ </ContextMenu>
+ </Setter.Value>
+ </Setter>
</Style>
<Style TargetType="{x:Type TextBlock}">