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

No good way to dynamically change font size #48

Open
jseidman95 opened this issue Jul 30, 2018 · 1 comment
Open

No good way to dynamically change font size #48

jseidman95 opened this issue Jul 30, 2018 · 1 comment
Labels

Comments

@jseidman95
Copy link

Once you create the StyledTextRenderer, you would need to create an entirely new object to change one small attribute like font size. This is an expensive process

@rnystrom
Copy link
Member

rnystrom commented Aug 1, 2018

@jseidman95 how is it an expensive process? I’d much prefer calling a builder to recreate an immutable data structure than allow things to be mutated.

Sent with GitHawk

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

No branches or pull requests

2 participants