Skip to content

[FlexBox] Issue short description #1903

@SuperPosed-12

Description

@SuperPosed-12

Is there an existing issue for this?

Enter the name of the extension

Flexbox

Describe the bug of the extension

Leaving the "occupy maximum width" or "occupy maximum height" on multiple flex items inside the same flex container causes each of the items to resize to the full width/height of the container, and when both are turned on for multiple flex items, they all assume the full size of the container and push each other out of the container.

Steps to reproduce

  1. Add a sprite with the FlexContainer behaviour attached to it.
  2. Add an instance of the sprite to the scene
  3. Add two or more other sprites and attach the FlexItem behaviour to them.
  4. Add an instance of each of these objects to the scene
  5. Check both "Occupy maximum width" and "Occupy maximum height" in the behaviour properties for both the Flex Items
  6. Run a preview

GDevelop platform

Web

GDevelop version

5.5.245

Platform info

OS (e.g. Windows, Linux, macOS, Android, iOS)

OS Version (e.g. Windows 10, macOS 10.15)

Browser(For Web) (e.g. Chrome, Firefox, Safari)

Device(For Mobile) (e.g. iPhone 12, Samsung Galaxy S21)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚠ Issue with an extensionAn issue with an extension that is already on the extension store

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions