From 629c242a835062aedabbcb95760113b7224a794e Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 12 Jun 2016 15:35:54 -0400 Subject: [PATCH] Forgot to make the dummy views ignore autoresizing masks. --- darwin/grid.m | 1 + 1 file changed, 1 insertion(+) diff --git a/darwin/grid.m b/darwin/grid.m index e97a2468..369dc94b 100644 --- a/darwin/grid.m +++ b/darwin/grid.m @@ -204,6 +204,7 @@ struct uiGrid { for (x = 0; x < xcount; x++) if (gg[y][x] == -1) { gv[y][x] = [[NSView alloc] initWithFrame:NSZeroRect]; + [gv[y][x] setTranslatesAutoresizingMaskIntoConstraints:NO]; [self addSubview:gv[y][x]]; [self->emptyCellViews addObject:gv[y][x]]; } else {