mirror of
https://gitee.com/handyorg/HandyControl.git
synced 2024-12-02 11:57:37 +08:00
fixed #367
This commit is contained in:
parent
132670dba6
commit
66ec1b06fe
@ -122,7 +122,9 @@ namespace HandyControl.Controls
|
|||||||
|
|
||||||
private void HideAdornerElement()
|
private void HideAdornerElement()
|
||||||
{
|
{
|
||||||
|
if (_adornerContainer == null) return;
|
||||||
var layer = AdornerLayer.GetAdornerLayer(Target);
|
var layer = AdornerLayer.GetAdornerLayer(Target);
|
||||||
|
|
||||||
if (layer != null)
|
if (layer != null)
|
||||||
{
|
{
|
||||||
layer.Remove(_adornerContainer);
|
layer.Remove(_adornerContainer);
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
<Color x:Key="ReverseTextColor">#212121</Color>
|
<Color x:Key="ReverseTextColor">#212121</Color>
|
||||||
<Color x:Key="TextIconColor">White</Color>
|
<Color x:Key="TextIconColor">White</Color>
|
||||||
|
|
||||||
<Color x:Key="BorderColor">#3f3f46</Color>
|
<Color x:Key="BorderColor">#202020</Color>
|
||||||
<Color x:Key="SecondaryBorderColor">#555555</Color>
|
<Color x:Key="SecondaryBorderColor">#555555</Color>
|
||||||
<Color x:Key="BackgroundColor">#eeeeee</Color>
|
<Color x:Key="BackgroundColor">#eeeeee</Color>
|
||||||
<Color x:Key="RegionColor">#1c1c1c</Color>
|
<Color x:Key="RegionColor">#1c1c1c</Color>
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
</ResourceDictionary.MergedDictionaries>
|
</ResourceDictionary.MergedDictionaries>
|
||||||
|
|
||||||
<Style x:Key="PinBoxBaseStyle" TargetType="controls:PinBox">
|
<Style x:Key="PinBoxBaseStyle" TargetType="controls:PinBox">
|
||||||
|
<Setter Property="Focusable" Value="False"/>
|
||||||
<Setter Property="ItemMargin" Value="4,0"/>
|
<Setter Property="ItemMargin" Value="4,0"/>
|
||||||
<Setter Property="ItemWidth" Value="{StaticResource DefaultControlHeight}"/>
|
<Setter Property="ItemWidth" Value="{StaticResource DefaultControlHeight}"/>
|
||||||
<Setter Property="ItemHeight" Value="{StaticResource DefaultControlHeight}"/>
|
<Setter Property="ItemHeight" Value="{StaticResource DefaultControlHeight}"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user