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 close button still active even when being hidden #55407

Closed
floppyhammer opened this issue Nov 28, 2021 · 2 comments · Fixed by #55454
Closed

Tab close button still active even when being hidden #55407

floppyhammer opened this issue Nov 28, 2021 · 2 comments · Fixed by #55454
Milestone

Comments

@floppyhammer
Copy link
Contributor

Godot version

v3.4.stable.official [206ba70]

System information

Windows, GLES3

Issue description

tab

Steps to reproduce

Add a Control and a Tabs, add a script to the Tabs.

extends Control

func _ready():
	$Tabs.add_tab("Tab1")
	$Tabs.add_tab("Tab2")
	$Tabs.tab_close_display_policy = Tabs.CLOSE_BUTTON_SHOW_ACTIVE_ONLY

func _on_Tabs_tab_close(tab):
	print("Close button pressed for tab ", tab)

Minimal reproduction project

Test.zip

@floppyhammer
Copy link
Contributor Author

Haven't tested this in 4.0 as my graphics card isn't supported. My Vulkan API version is 1.0.39. What's the minimal version for 4.0?

@ator-dev
Copy link
Contributor

ator-dev commented Nov 29, 2021

Confirmed to occur in 4.0 as well, and works the same way (incorrectly) when set to CLOSE_BUTTON_SHOW_NEVER.

What's the minimal version for 4.0?

I'm not sure, sorry - hopefully someone else seeing this might know, or a forum like the Discord sever is likely to have an answer.

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.

5 participants