• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTabbedPane - centered versus left aligned tabs  RSS feed

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mac OS X - El Capitan

 
Dennis Hopfer
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To clarify I get a centered 3 set of tabs where usually we get left aligned tabs.  Could not find the reference and spent an hour with it.  Running Mac OS X - El Capitan.


Help.
 
Dennis Hopfer
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
https://stackoverflow.com/questions/13264927/tabs-position-of-jtabbedpane

This is something similar to what I've noted. 
 
Author
Ranch Hand
Posts: 959
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Mac LookAndFeel thinks it's doing you a favor. A "real" app that followed Apple's guidelines would necessarily have the centered tabs, so that's all you can do.

If you're ok with switching to another LookAndFeel, then you should be able to align tabs as you wish.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!