flex icon indicating copy to clipboard operation
flex copied to clipboard

baseline missing

Open lrz opened this issue 7 years ago • 3 comments

We should support baseline for align_items, align_self, justify_content and align_content.

lrz avatar Nov 28 '17 15:11 lrz

that means the items should be able to report their baselines...

I'd keep this for wayyyyyy later

StephaneDelcroix avatar Nov 30 '17 11:11 StephaneDelcroix

Yogalayout does this as delegate method which used during layout calculations. Similar to SelfSizing delegate.

brettclutch avatar Feb 25 '18 20:02 brettclutch

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%.

katef avatar Sep 11 '18 12:09 katef