ga1pi2ga Posted May 21, 2021 Share Posted May 21, 2021 so i noticed that in my application the button doesn't move to the edge of the screen when the app gets full-screened what can i do? i am using this: auto Quit_b = CreateButton("Quit", window->ClientSize().x - 125, y, 120, 30, ui->root); Quote Link to comment Share on other sites More sharing options...
Solution ga1pi2ga Posted May 21, 2021 Author Solution Share Posted May 21, 2021 guess im just dumb ? here is the solution for anyone else: auto Quit_b = CreateButton("Quit", window->ClientSize().x - 125, y, 120, 30, ui->root); Quit_b->SetLayout(0, 1, 0, 0); and this is where i found it https://www.ultraengine.com/learn/CPP/Widget_SetLayout 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.