From b564d578ba98daec745906222587f2a71db4ab32 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 12 May 2016 02:03:23 -0400 Subject: [PATCH] More fixes. Still not all there... --- darwin/box.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/darwin/box.m b/darwin/box.m index c9e81380..270d9b08 100644 --- a/darwin/box.m +++ b/darwin/box.m @@ -72,9 +72,13 @@ struct uiBox { // the weird names vert and bb are to shut the compiler up about shadowing because implicit this/self is stupid self->b = bb; self->vertical = vert; + self->padded = 0; self->children = [NSMutableArray new]; self->nStretchy = 0; + self->inBetweens = [NSMutableArray new]; + self->otherConstraints = [NSMutableArray new]; + if (self->vertical) { self->primaryStart = NSLayoutAttributeTop; self->primaryEnd = NSLayoutAttributeBottom;