diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-15 10:36:03 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-15 10:36:03 +0100 |
| commit | 60542beb36347b4af6070c2c5db580700755698f (patch) | |
| tree | 024b4837fa5deb76747314e234c4d99710798383 /src/GraphicObjects/GenericStack.cs | |
| parent | 3ee26688eedb549a81b7846eac4698cf9a589519 (diff) | |
Add ArrangeChildren boolean to ILayoutable
Diffstat (limited to 'src/GraphicObjects/GenericStack.cs')
| -rw-r--r-- | src/GraphicObjects/GenericStack.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GraphicObjects/GenericStack.cs b/src/GraphicObjects/GenericStack.cs index ed90486d..3f2ec8a1 100644 --- a/src/GraphicObjects/GenericStack.cs +++ b/src/GraphicObjects/GenericStack.cs @@ -42,6 +42,8 @@ namespace Crow } #endregion + #region GraphicObject Overrides + public override bool ArrangeChildren { get { return true; } } public override void ChildrenLayoutingConstraints (ref LayoutingType layoutType) { //Prevent child repositionning in the direction of stacking @@ -50,8 +52,6 @@ namespace Crow else layoutType &= (~LayoutingType.Y); } - - #region GraphicObject Overrides protected override Size measureRawSize () { Size tmp = new Size (); |