Reputation: 691
Basically, I'm trying to remove the grey line below the tabs so it appears flat (lol, ignore bad Spanish translations - I'm currently working on fixing the bundles):
I've tried -fx-padding: 0;
and -fx-border-width: 0;
on various tab-related components.
Thanks.
Upvotes: 1
Views: 855
Reputation: 4803
This line is the background insets of the tab header region.
You can solve this by putting this in your stylesheet:
.tab-pane:top > .tab-header-area > .tab-header-background {
-fx-background-insets: 0, 0 0 0 0, 0;
}
Upvotes: 2