aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Group.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-03-21 08:53:31 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-04-14 12:44:46 +0200
commit0b005fefe69b67bf335c3c00944bbac73e8b4831 (patch)
tree6fef2ccda18e6ae0e26a9f890341c8dacb84e9c5 /src/GraphicObjects/Group.cs
parentb7bd81982e6313237e4062148612f1d27c09f2df (diff)
remove Bounds rectangle as private field for dims
Diffstat (limited to 'src/GraphicObjects/Group.cs')
-rw-r--r--src/GraphicObjects/Group.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/GraphicObjects/Group.cs b/src/GraphicObjects/Group.cs
index 7ea37161..47795b06 100644
--- a/src/GraphicObjects/Group.cs
+++ b/src/GraphicObjects/Group.cs
@@ -178,14 +178,14 @@ namespace Crow
if (g.Slot.Width > maxChildrenWidth) {
maxChildrenWidth = g.Slot.Width;
largestChild = g;
- if (this.Bounds.Width < 0)
+ if (Width < 0)
this.RegisterForLayouting (LayoutingType.Width);
} else if (g == largestChild) {
largestChild = null;
maxChildrenWidth = 0;
- if (this.Bounds.Width < 0)
+ if (Width < 0)
this.RegisterForLayouting (LayoutingType.Width);
}
break;
@@ -193,14 +193,14 @@ namespace Crow
if (g.Slot.Height > maxChildrenHeight) {
maxChildrenHeight = g.Slot.Height;
tallestChild = g;
- if (this.Bounds.Height < 0)
+ if (Height < 0)
this.RegisterForLayouting (LayoutingType.Height);
} else if (g == tallestChild) {
tallestChild = null;
maxChildrenHeight = 0;
- if (this.Bounds.Height < 0)
+ if (Height < 0)
this.RegisterForLayouting (LayoutingType.Height);
}
break;