Removed the default box hugging priorities. We'll set them in group, tab, and window.
This commit is contained in:
parent
854e87b90a
commit
a485319c8b
|
@ -94,10 +94,6 @@ 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