-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Vertical Centered expands to infinity #4039
Comments
It would be a little better if you added .scroll2([true, true]) |
why? I don't want to scroll behind my content, it should be in the small window |
I mean temporary. ui.horizontal(|ui| {
ui.vertical_centered(|ui| {
ui.label("Volume");
ui.label("Text");
});
});
ui.horizontal(|ui| {
ui.vertical_centered(|ui| {
ui.label("Pan");
ui.label("Other Text");
});
}); |
But scrolling wouldn't help because it would grow larger every time I update, so also on scroll. |
Yes, you will have to find a temporary solution and use it until the bug is fixed. |
Describe the bug
When having two vertical_centered stacks horizontally next to each other, they grow bigger on every mouse move. (could be a duplicate of #2815 but it's described differently so I'm not sure)
To Reproduce
Expected behavior
Having the minimal size of them next by each other.
Screenshots
https://github.com/emilk/egui/assets/82600264/fbe3173e-31f8-4b05-8ba8-b6b71dbe1202
The text was updated successfully, but these errors were encountered: