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

WFF - Changing Font Size #1244

Open
3llomi opened this issue Jan 26, 2025 · 1 comment
Open

WFF - Changing Font Size #1244

3llomi opened this issue Jan 26, 2025 · 1 comment

Comments

@3llomi
Copy link

3llomi commented Jan 26, 2025

Is there a way to allow the user to change the font size through configuration?
I'm thinking of adding

<ListConfiguration  id="font_size" ....>

<ListOption id="small" />
<ListOption id="medium" />
<ListOption id="large" />

</ListConfiguration>

But this means that I have to add the same <Text> 3 times (for each font size) * 2 (for variant) which is a pain.
Is there a better way for this?

@gondwanasoft
Copy link

I think the short answer is 'no. I wrote a script that can help with the generation of repeated structures, but it may be overkill.

You may get better answers on the WFF Google Chat. Unfortunately, it's invite-only; if interested in joining, let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants