Forgot to make the dummy views ignore autoresizing masks.
This commit is contained in:
parent
0ce4fd6efd
commit
629c242a83
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue