Hi,
I'm messing around and trying to pin some dynamically changing text to the top-left of the screen. I'd like to also include a background image behind the text that scales to fit.
Something like this....
View attachment 110427
I figure out how to make the text element stretch to fit its content with the Content Size Fitter (set to PreferredSize on both axes). Next I added an Image and made the Text a child of that. Finally I added a Content Size Fitter to the Image, thinking I was...
Can't figure out a very basic layout... (container scales to fit children, text pinned to top-left)
I'm messing around and trying to pin some dynamically changing text to the top-left of the screen. I'd like to also include a background image behind the text that scales to fit.
Something like this....
View attachment 110427
I figure out how to make the text element stretch to fit its content with the Content Size Fitter (set to PreferredSize on both axes). Next I added an Image and made the Text a child of that. Finally I added a Content Size Fitter to the Image, thinking I was...
Can't figure out a very basic layout... (container scales to fit children, text pinned to top-left)