Skip to content

Feature Request: Layout elements #11

@minutekiwi

Description

@minutekiwi

It would be great for making UI (and other things) to have the ability to create layout containers (parents) that arrange elements (children). These containers could have the following attributes:

  • Container type: Horizontal box, Vertical box, Grid
  • Container size: _xpos _ypos _zpos (_width) (_height)
  • Spacing of elements: Either an integer (15 pixels) or "Evenly" (calculate available space given if _width or _height is provided and spread elements evenly)
Image

For use cases:

  1. A series of buttons in a choice menu
  2. Laying out options settings evenly
  3. Creating an inventory system

They could be combined for strong effects like this as well.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions