• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to place all tabs on the center of TabPane and have space between Tabs?

 
Volodymyr Lysenko
Ranch Hand
Posts: 511
1
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

I use TabPane with Tabs. The problem is that Tabs stuck on the top left corner but I want them to be on top vertically and on center horizontally.

What should I override to have Tabs on top and center of TabPane?
Also how to make a little space between each Tab of TabPane?

Thank you!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic