aspose file tools*
The moose likes JavaFX and the fly likes How to place all tabs on the center of TabPane and have space between Tabs? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "How to place all tabs on the center of TabPane and have space between Tabs?" Watch "How to place all tabs on the center of TabPane and have space between Tabs?" New topic
Author

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

Volodymyr Levytskyi
Ranch Hand

Joined: Mar 29, 2012
Posts: 481
    
    1

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!


True person is moral, false is right!
 
 
subject: How to place all tabs on the center of TabPane and have space between Tabs?
 
Similar Threads
GridBagLayout Problem
Closable Tabs
how to round rectangle in jtabbedpane?
Table in AWT
JTextField in JScrollPane