0 votes

After upgrade to 3.1, all my controls inside Popups are streched to fill the whole popup. The ones inside GridContainer seems to be nearly where they were before, but any control directly as Popup's child get stretched to Popup's size.

I have manually moved/scaled them back to where they should be in the editor, but when the app is run, they again fill the whole Popup.

Is there some known change that is causing this?

in Engine by (71 points)

happen to me too. but now much easy to use, u can now put scrollbar in V/Hbox container.

So how do I make the buttons stay in their place? Is it not possible to manually (without containers) position them anymore?

try remove margin container if you have one.

I even removed the sibling GridContainer, so that the button was the only child of PopupPanel and still the button filled the entire panel at run-time. It happens with new projects as well.

Edit: I changed the popup node type from PopupPanel to PopupDialog and positioning now works as expected.

popup only should work too. :) good luck

I filed a bug on PopupPanel behavior: https://github.com/godotengine/godot/issues/27555

As a workaround I changed my popups to PopupDialog nodes.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.