Hello,
It looks like the YogaProps interface is missing the functions for setting the gap properties. The setGap and setGapPercentage are only available on the YogaNode
Like wise the getters are also missing. It looks like other properties also have getters exposed in the YogaProps
In our use case we rely on the YogaProps interface for setting the properties on the yoga nodes. With the missing gap functions, that is not possible and one needs to rely on YogaNode class it self in order to set the gap based properties. I'm not sure if that is by design, since all other properties are settable via the YogaProps interface, I'm guessing the missing gap related functions was just an oversight
Same thing is also present in the upcoming Grid support PR (#1898) which is missing the functions to set the grid specific properties in YogaProps, which makes me think if maybe we are miss understanding the usage of YogaProps?
Thanks in advance
Hello,
It looks like the YogaProps interface is missing the functions for setting the gap properties. The
setGapandsetGapPercentageare only available on the YogaNodeLike wise the getters are also missing. It looks like other properties also have getters exposed in the
YogaPropsIn our use case we rely on the
YogaPropsinterface for setting the properties on the yoga nodes. With the missing gap functions, that is not possible and one needs to rely onYogaNodeclass it self in order to set the gap based properties. I'm not sure if that is by design, since all other properties are settable via the YogaProps interface, I'm guessing the missing gap related functions was just an oversightSame thing is also present in the upcoming Grid support PR (#1898) which is missing the functions to set the grid specific properties in
YogaProps, which makes me think if maybe we are miss understanding the usage ofYogaProps?Thanks in advance