Skip to content

Add layout handling for custom windows #7

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

Open
ModsOfPantheon opened this issue Mar 2, 2025 · 0 comments
Open

Add layout handling for custom windows #7

ModsOfPantheon opened this issue Mar 2, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@ModsOfPantheon
Copy link
Owner

Once a window has been created, the API should be able to add a layout to it using VerticalLayoutGroup, HorizontalLayoutGroup, GridLayoutGroup etc.

Something like

var customWindow = CustomUI.CreateWindow("Foo");
customWindow.SetLayout(WindowLayout.Horizontal);

and/or with builder pattern

var customWindow = CustomUI.CreateWindow("Foo")
    .WithLayout(WindowLayout.Horizontal);
@ModsOfPantheon ModsOfPantheon added the enhancement New feature or request label Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant