-
Notifications
You must be signed in to change notification settings - Fork 155
Description
What problem does this solve or what need does it fill?
This is related to plain old "centering a div" prblem in box model.
Say, for android constraint layout, you effectively set both left + width + right to fix thing in center (ish),
but in css, this would make either left or right to win based on writing direction.
What solution would you like?
While this is non-css standards, I think this behaviour could be achieved quite easly.
We could consider introducing new style struct or new field, but instead, just perhpas introducing new 3rd parameter for controlling this behaviour?
What alternative(s) have you considered?
We usually would use flexbox for this situation, but that would require tidious tree re-construction just for that.
This is not a full proposal for supporting constraint / auto layout, but rather consider exposing the control of the behaviour how inset resolving works within the current implementation.