Views will only render if they have a non-zero size. You need to set some size to UserInfo, since it defaults to 0.
Nick
07/09/2022, 5:18 PM
They don't.
Nick
07/09/2022, 5:20 PM
TextMetrics is used for calculating the size of text. So you can compute the size upon unit in the UserInfo and set a size then. Of course you're drawing two lines, so you'd account for that in the calculation.
Nick
07/09/2022, 5:21 PM
Work as in?
Nick
07/09/2022, 5:38 PM
I see. You can also set a Layout on the display to have it manage the size of the top level Views.