Open lrz opened 6 years ago
that means the items should be able to report their baselines...
I'd keep this for wayyyyyy later
Yogalayout does this as delegate method which used during layout calculations. Similar to SelfSizing delegate.
Would this be equivalent to centering, and then moving coordinates relative to the centerline? In other words, is center effectively a baseline set at 50% of the height?
If that's the case (at least for rows), I could imagine using FLEX_ALIGN_CENTER
for both, and attaching a .baseline
attribute to items, where centering overrides that to 50%.
We should support baseline for align_items, align_self, justify_content and align_content.