Browse Source

relative panel should clip to bounds by default.

pull/3987/head
Dan Walmsley 6 years ago
parent
commit
c354bc50db
  1. 2
      src/Avalonia.Controls/RelativePanel.AttachedProperties.cs

2
src/Avalonia.Controls/RelativePanel.AttachedProperties.cs

@ -17,6 +17,8 @@ namespace Avalonia.Controls
static RelativePanel()
{
ClipToBoundsProperty.OverrideDefaultValue<RelativePanel>(true);
AboveProperty.Changed.AddClassHandler<Layoutable>(OnAlignPropertiesChanged);
AlignBottomWithPanelProperty.Changed.AddClassHandler<Layoutable>(OnAlignPropertiesChanged);
AlignBottomWithProperty.Changed.AddClassHandler<Layoutable>(OnAlignPropertiesChanged);

Loading…
Cancel
Save