Delsa
Delsa

Reputation: 313

how can I remove the area around a TabPane in javaFx?

I have a simple problem. in the figure you can see, what I need. there is an area above and the left of tab, How can I eradicate that?

Sample Image:

enter image description here

Upvotes: 0

Views: 187

Answers (1)

CTN
CTN

Reputation: 334

You have to add following CSS for tab Pane..

.tab-pane:top *.tab-header-area {
    -fx-background-insets: 0.0, 0.0 0.0 1.0 0.0;
    -fx-padding: 0.416667em 0.166667em 0.0em 0.0em;
}

Upvotes: 1

Related Questions