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

TabPane weird behaviour after enabling TabClosingPolicy #1180

Closed
AnimusXov opened this issue Feb 4, 2021 · 1 comment
Closed

TabPane weird behaviour after enabling TabClosingPolicy #1180

AnimusXov opened this issue Feb 4, 2021 · 1 comment

Comments

@AnimusXov
Copy link

AnimusXov commented Feb 4, 2021

So this how tabpane (it's wrapped in StackPane) looks like after adding two tabs with setClosable(false). Custom CSS is fine here.
java_G6kLbOMS1g
After adding a new tab without setClosable(false) it doesn't care my custom css also positioning breaks as well.
Do I have reapply style sheet every time I add new tab or what would be a workaround here?

java_GX1xL15TF7
There is not happening a lot during adding new tab, just setText(). After closing new tab everything goes back to normal.

EDIT: After going through some CSS I think it's a problem at my end, new tab just changes height a bit and places label a bit higher relative to other tabs.

@sshahine
Copy link
Owner

I'll close this issue for now, feel free to reopen if not resolved

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

No branches or pull requests

2 participants