StyledTextKit icon indicating copy to clipboard operation
StyledTextKit copied to clipboard

No good way to dynamically change font size

Open jseidman95 opened this issue 7 years ago • 1 comments

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

jseidman95 avatar Jul 30 '18 22:07 jseidman95

@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

rnystrom avatar Aug 01 '18 00:08 rnystrom