Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mgarin opened this issue May 26, 2020 · 1 comment
Closed

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

mgarin opened this issue May 26, 2020 · 1 comment
Assignees
Milestone

Comments

@mgarin
Copy link
Owner

mgarin commented May 26, 2020

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 mgarin added this to the v1.2.13 milestone May 26, 2020
@mgarin mgarin self-assigned this May 26, 2020
mgarin added a commit that referenced this issue May 26, 2020
…ly passed to all `Tab`s [ #631 ]

- FontUtils.java - Added method for convenient `FontUIResource` retrieval and `UIResource` `Font` replacement
@mgarin
Copy link
Owner Author

mgarin commented May 26, 2020

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.

@mgarin mgarin closed this as completed May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant