Skip to content

Missing properties to get/set column/row gap in YogaProps #1904

@fvito

Description

@fvito

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions