This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 505
    
    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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to place all tabs on the center of TabPane and have space between Tabs?
 
Similar Threads
how to round rectangle in jtabbedpane?
GridBagLayout Problem
JTextField in JScrollPane
Table in AWT
Closable Tabs