orangy
LayoutInfo
, e.g. from Window
⢠ability to get children of said LayoutInfo
, and since node and info is the same instance, just expose children
from node into the info interface
⢠ability to get the outer coordinates from LayoutInfo
, not affected by modifiers. coordinates
property is ācontent areaā after paddings and such, and to properly hit-test and highlight the node I need outer coordinates (itās all there in outerLayoutNodeWrapper, just needs to be exposed)
If we had this, we could build very nice tooling for ourselves. WDYT? Worth creating an issue, or is it too much into inner kitchen horrors?shikasd
06/07/2022, 8:31 PMLandry Norris
06/07/2022, 8:33 PMorangy
orangy
Ruckus
06/07/2022, 8:40 PMorangy
Ruckus
06/07/2022, 9:07 PMorangy
InspectorValueInfo
, which is pretty standard thing to convey debug info. See e.g. Modifier.padding
. I believe all standard modifiers do that, and when I author a custom modifier, I include that tooorangy
Zach Klippenstein (he/him) [MOD]
06/07/2022, 10:37 PMjames
06/07/2022, 10:41 PMChris Sinco [G]
06/07/2022, 11:01 PMshikasd
06/08/2022, 2:46 PMshikasd
06/08/2022, 2:53 PMorangy
shikasd
06/08/2022, 3:01 PMorangy