More fixes. Still not all there...

This commit is contained in:
Pietro Gagliardi 2016-05-12 02:03:23 -04:00
parent 21f9b9666b
commit b564d578ba
1 changed files with 4 additions and 0 deletions

View File

@ -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 // the weird names vert and bb are to shut the compiler up about shadowing because implicit this/self is stupid
self->b = bb; self->b = bb;
self->vertical = vert; self->vertical = vert;
self->padded = 0;
self->children = [NSMutableArray new]; self->children = [NSMutableArray new];
self->nStretchy = 0; self->nStretchy = 0;
self->inBetweens = [NSMutableArray new];
self->otherConstraints = [NSMutableArray new];
if (self->vertical) { if (self->vertical) {
self->primaryStart = NSLayoutAttributeTop; self->primaryStart = NSLayoutAttributeTop;
self->primaryEnd = NSLayoutAttributeBottom; self->primaryEnd = NSLayoutAttributeBottom;