[GUI] TextBlock's content real size in pixels

When the TextBlock size in pixels seems to always report its parent size instead of the real text content size (e.g. textBlock.wdthInPixels).
How to detect actual text size?


I found out, it needs .resizeToFit=true and it needs a timeout before it works.
See the playground.

1 Like