Skip to content

More GUI positioning options #36

Description

@mart3323

Currently (version 0.2.1) a GUI element can be positioned either a fixed distance from the top/left/right/bottom sides of the screen, or at a ratio if you select middle/center

I propose adding some more customisation options
Firstly I propose being able to choose which corner is positioned
This enables elements whose size changes to be aligned to the centerlines / right and bottom sides of the screen

Secondly, i propose the ability to maintain distance from the centerpoint
This enables populating the area around the crosshair without clipping if the window is shrunk

Thirdly, i propose the ability to maintain distance from (the corner/side of) another GUI element
This would be useful for moving elements as a group or positioning a group of elements at a fixed ratio position (f.ex. halfway to the right side of the screen) without clipping if the window is shrunk

If anything is unclear, please let me know and i'll try to draw up some visuals

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions