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

Tab Container Children Don't Have Correct Transformations in Scene Editor #92221

Closed
SparkerPlug opened this issue May 21, 2024 · 2 comments
Closed
Milestone

Comments

@SparkerPlug
Copy link

Tested versions

Reproducible in 4.2.2

System information

Godot v4.2.2.stable - Windows 10.0.22631 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 31.0.15.5222) - AMD Ryzen 5 5600X 6-Core Processor (12 Threads)

Issue description

When creating a tab container and having children with it, the first one appears fine. Both in play mode and scene editor. The second appears fine in play mode, but in scene editor the position/scale/anchor do not appear normal. It's warped and not the correct size, scale, or position.

Steps to reproduce

Looking at my sample code:
Take a look at the enabled tab 1. Text is readable and takes up the whole container/tab.Take a look at the Tab1->Layout->Transform and take note of the size and position.

Click Run Project. Take a look at tab1 and tab2. Look fine. Stop the running project.

Now disable Tab1 and enable Tab2 in scene view. Take a look at the text. Now look at Tab1->Layout->Transform and take a note of the size and position. It is quite different.

Minimal reproduction project (MRP)

BuggedTabContainer.zip

@SparkerPlug SparkerPlug changed the title Tab Container Children Don't Have Correct Transformations in Scene Viewer Tab Container Children Don't Have Correct Transformations in Scene Editor May 21, 2024
@kitbdev
Copy link
Contributor

kitbdev commented May 22, 2024

@AThousandShips
Copy link
Member

Closing as per the above

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

3 participants