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

UI add more layouting options #91

Open
Skytrias opened this issue Jan 11, 2025 · 0 comments
Open

UI add more layouting options #91

Skytrias opened this issue Jan 11, 2025 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@Skytrias
Copy link
Collaborator

Currently we have V/H Stack style layouting similar to what a lot of retained mode UIs do. We also have "float" based positioning where you can specify a oc_vec2 target Position for a box.

In my opinion there should at least be another option to add "Absolute" layouting which always start at x=0, y=0 for things that should stick to the screen. Maybe this could be done with another style option, floatAbsolute=true?

Or we change names instead of oc_vec2 floatTarget we could have oc_vec2 absoluteTarget and oc_vec2 relativeTarget.

One other thing that was discussed in meetings was how a user could add custom lay outing options like Rect-Cut lay outing or anything more specialized.

@Skytrias Skytrias added the help wanted Extra attention is needed label Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant