Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A way to get the size of layout #74

Open
Nedok opened this issue Nov 26, 2018 · 0 comments
Open

A way to get the size of layout #74

Nedok opened this issue Nov 26, 2018 · 0 comments

Comments

@Nedok
Copy link

Nedok commented Nov 26, 2018

Currently it's quite hard to get the bounding box of a layout. (Top left and bottom right points.)
This is useful for placing backdrops for dynamic generated GUI (like item lists), as well as for creating scroll enabled GUI.

A solution could be to add a boundingSize() function to layout that return x, y, width, height where x,y points to the absolut top position of the layout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant