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

Support separate fonts for palette entry and container #371

Open
ptziegler opened this issue Jan 30, 2024 · 2 comments
Open

Support separate fonts for palette entry and container #371

ptziegler opened this issue Jan 30, 2024 · 2 comments

Comments

@ptziegler
Copy link
Contributor

The palette only allows the user to set a single font, which is used for all figures.
I think it would be useful if one set different fonts for categories and entries, in order to e.g. emphasize one over the other.
A simple use case would be to make the categories bold.

image

@ptziegler
Copy link
Contributor Author

ptziegler commented Jan 30, 2024

Suggestion:

Split up the Palette Font key in the PaletteViewerPreferences into Entry Font and Category Font.

For backwards compatibility, setFontData() would update the entry and category font, but it would also be possible to configure either one via dedicated methods.

Copy link

This issue is stale because it has been open for 90 days with no activity.

@github-actions github-actions bot added the stale label Apr 30, 2024
@azoitl azoitl removed the stale label Apr 30, 2024
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

2 participants