Skip to content

Selecting GameObject with FlexLayout sometimes adds 100px to layout properties #38

@alexanderlarsen

Description

@alexanderlarsen

Issue

Occasionally, selecting a GameObject with a FlexLayout component causes 100px to be added to one of the size properties (height, minHeight, maxHeight or width, minWidth, maxWidth), depending on the flex direction.

Details

  • Happens with some GameObjects, not consistently.
  • Whether it happens to width or height seems tied to the flex direction (row vs column).
  • Can occur both in edit mode and at runtime.

Example

Before selecting Time Attack element:

Image

Image

After selecting/clicking on Time Attack element:

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions