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

Tabs' label look incorrect when dragging for rearranging (Also valid on the editor) #44321

Closed
gongpha opened this issue Dec 12, 2020 · 2 comments · Fixed by #44328
Closed

Tabs' label look incorrect when dragging for rearranging (Also valid on the editor) #44321

gongpha opened this issue Dec 12, 2020 · 2 comments · Fixed by #44328

Comments

@gongpha
Copy link
Contributor

gongpha commented Dec 12, 2020

Godot version:

Master Branch 8c045fc

OS/device including version:

Windows 10 64-bit ( Vulkan )

Issue description:

TabContainer with "Drag to Rearrange Enabled" allows the user to drag its tabs by mouse to rearrange.

Steps to reproduce:
In the game :

  1. Create TabContainer node with drag_to_rearrange_enabled is enabled
  2. Create 2 tabs. Name it differently.
  3. Put any Control nodes to tabs.
  4. Put tabs inside TabContainer.
  5. Run a game. And try to drag any tab to any position.
  6. Problem arrived. Tab boxes and their contents changed. But their labels aren't.

In the editor :

  1. Drag any tab in the editor to any position.
  2. Problem arrived the same as the game.

game
editor

( Sorry for the editor's language, which made you confused. I'm in a hurry )

Minimal reproduction project:

TabContainer.zip

@akien-mga
Copy link
Member

CC @volzhs in case this is related to recent TabContainer fixes.

@gongpha
Copy link
Contributor Author

gongpha commented Dec 12, 2020

Still valid in 0167bfa. Before his last commit on tab_container.cpp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants