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:
parent
a485319c8b
commit
b20b790254
|
@ -94,6 +94,10 @@ struct uiBox {
|
||||||
self->primaryOrientation = NSLayoutConstraintOrientationHorizontal;
|
self->primaryOrientation = NSLayoutConstraintOrientationHorizontal;
|
||||||
self->secondaryOrientation = NSLayoutConstraintOrientationVertical;
|
self->secondaryOrientation = NSLayoutConstraintOrientationVertical;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO default high?
|
||||||
|
self->horzHuggingPri = NSLayoutPriorityRequired;
|
||||||
|
self->vertHuggingPri = NSLayoutPriorityRequired;
|
||||||
}
|
}
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue