mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 22:55:52 -06:00
Fix Borders of Right Click menu for Textbox (eg. Searchbar) (#9)
This commit is contained in:
parent
d8f817668b
commit
9e65047a0d
@ -603,9 +603,23 @@
|
||||
<Setter Property="ContextMenu">
|
||||
<Setter.Value>
|
||||
<ContextMenu>
|
||||
<ContextMenu.Style>
|
||||
<Style TargetType="ContextMenu">
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="ContextMenu">
|
||||
<Border Background="{MainBackgroundColor}" BorderBrush="{MainForegroundColor}" BorderThickness="1" CornerRadius="5" Padding="5">
|
||||
<StackPanel>
|
||||
<MenuItem Command="Cut" Header="Cut"/>
|
||||
<MenuItem Command="Copy" Header="Copy"/>
|
||||
<MenuItem Command="Paste" Header="Paste"/>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
</ContextMenu.Style>
|
||||
</ContextMenu>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
|
Loading…
Reference in New Issue
Block a user