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

Container has wrong size when it appears after expanding #58630

Closed
KoBeWi opened this issue Feb 28, 2022 · 1 comment
Closed

Container has wrong size when it appears after expanding #58630

KoBeWi opened this issue Feb 28, 2022 · 1 comment

Comments

@KoBeWi
Copy link
Member

KoBeWi commented Feb 28, 2022

Godot version

3.x a76316c, does not happen on master

System information

W10

Issue description

ezgif com-gif-maker (1)
The size after appearing was the size I gave the container originally. I then duplicated the contents and after toggling visibility, it doesn't restore the expanded size, but the old one.

Steps to reproduce

  1. Create a container and give it some size
  2. Put miltiple controls inside the container, so that it expands
  3. Toggle visibility of the container twice
  4. The container will appear with its original size

Minimal reproduction project

BugScene.tscn.txt
Duplicate the TextureRects and toggle visibility of root.

@KoBeWi KoBeWi added this to the 3.5 milestone Feb 28, 2022
@KoBeWi KoBeWi changed the title Controls inside container have wrong size after container changes visibility Container has wrong size when it appears after expanding Feb 28, 2022
@KoBeWi
Copy link
Member Author

KoBeWi commented Mar 14, 2022

Fixed on latest branch
It was another regression from #57900

@KoBeWi KoBeWi closed this as completed Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant