mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-15 07:05:51 -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 Property="ContextMenu">
|
||||||
<Setter.Value>
|
<Setter.Value>
|
||||||
<ContextMenu>
|
<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="Cut" Header="Cut"/>
|
||||||
<MenuItem Command="Copy" Header="Copy"/>
|
<MenuItem Command="Copy" Header="Copy"/>
|
||||||
<MenuItem Command="Paste" Header="Paste"/>
|
<MenuItem Command="Paste" Header="Paste"/>
|
||||||
|
</StackPanel>
|
||||||
|
</Border>
|
||||||
|
</ControlTemplate>
|
||||||
|
</Setter.Value>
|
||||||
|
</Setter>
|
||||||
|
</Style>
|
||||||
|
</ContextMenu.Style>
|
||||||
</ContextMenu>
|
</ContextMenu>
|
||||||
</Setter.Value>
|
</Setter.Value>
|
||||||
</Setter>
|
</Setter>
|
||||||
|
Loading…
Reference in New Issue
Block a user