diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-05-02 09:19:19 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-05-02 09:19:19 +0200 |
| commit | 40392cc3bcaee5b67d85b0aabfd42d2881823bd6 (patch) | |
| tree | 809bc55854f13cb031d26129e7db24076119bca0 /src/GraphicObjects/Border.cs | |
| parent | c88d3c2e0b3e9e69df5f1879b9d8935d3ae0d390 (diff) | |
Layouting queue, debug
test4 validated
Diffstat (limited to 'src/GraphicObjects/Border.cs')
| -rw-r--r-- | src/GraphicObjects/Border.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GraphicObjects/Border.cs b/src/GraphicObjects/Border.cs index 281db215..e2451582 100644 --- a/src/GraphicObjects/Border.cs +++ b/src/GraphicObjects/Border.cs @@ -48,9 +48,9 @@ namespace go Size raw = Bounds.Size; if (child != null) { - if (Bounds.Width < 0 && child.WIsValid) + if (Bounds.Width < 0) raw.Width = child.Slot.Width + 2 * (Margin+BorderWidth); - if (Bounds.Height < 0 && child.HIsValid) + if (Bounds.Height < 0) raw.Height = child.Slot.Height + 2 * (Margin+BorderWidth); } |