does the Text type have a textSize member? I can s...
# korge
r
does the Text type have a textSize member? I can see that in the view/text.kt file. But when I try to use it in my code, I am getting an error;
d
let me check
It seems that it is just available at construction time. You can use
text("0", textSize = 24.0) {
After that it seems that you have to set the whole format. Which maybe is not too convenient.
Copy code
format = format.copy(textSize = 24.0)
So maybe we can provide a property that does just that
r
I'll add a GH issue on it for easy tracking
👍 1
d
Yes, thanks!