Open mos8502 opened 1 year ago
@mos8502stretch
is no longer maintained. You should check out https://github.com/DioxusLabs/taffy (and open an issue there) which is a maintained fork of stretch
. However, the direct answer to how baselines are calculated is that is the bottom edge of the leaf node you get to if you keep recursing down through the first child each node. Stretch/Taffy could definitely do with allow "measure_func"s to return baselines, but this isn't currently possible.
Though there is a means to set baseline as alignment value for
alignItems
andalignSelf
however it is not clear how the baseline of a node is calculated.