orangy
06/07/2022, 8:15 PMLayoutInfo
, 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
06/07/2022, 8:35 PMRuckus
06/07/2022, 8:40 PMorangy
06/07/2022, 8:49 PMRuckus
06/07/2022, 9:07 PMorangy
06/07/2022, 9:12 PMInspectorValueInfo
, 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 tooZach 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 PMorangy
06/08/2022, 2:55 PMshikasd
06/08/2022, 3:01 PMorangy
06/08/2022, 6:48 PM