Revert "Removed the default box hugging priorities. We'll set them in group, tab, and window."

This reverts commit a485319c8b.
This commit is contained in:
Pietro Gagliardi 2016-05-08 11:28:28 -04:00
parent a485319c8b
commit b20b790254
1 changed files with 4 additions and 0 deletions

View File

@ -94,6 +94,10 @@ struct uiBox {
self->primaryOrientation = NSLayoutConstraintOrientationHorizontal;
self->secondaryOrientation = NSLayoutConstraintOrientationVertical;
}
// TODO default high?
self->horzHuggingPri = NSLayoutPriorityRequired;
self->vertHuggingPri = NSLayoutPriorityRequired;
}
return self;
}