mgarin / weblaf

WebLaF is a fully open-source Look & Feel and component library written in pure Java for cross-platform desktop Swing applications.
http://weblookandfeel.com
GNU General Public License v3.0
1.13k stars 234 forks source link

Default tab titles do not inherit JTabbedPane's font #631

Closed mgarin closed 4 years ago

mgarin commented 4 years ago

This happens due to different implementation of the tab titles - in WebLaF they're represented by separate Tab components which are basically slightly modified WebStyledLabels. JTabbedPane's Font needs to be passed through into the Tabs in their constructor and UI implementation on change.

mgarin commented 4 years ago

Added a proper pass-through for JTabbedPane's Font into Tab components. This change will be available in v1.2.13 update and shortly in SNAPSHOT builds.