In a component:
* if a text box is set to size = fit, you can't set its content as a variable
* if a textbox's content is set as a variable, you can't set its size = fit
I don't understand why this is a limitation - I can freely change the content of a regular textbox whose size = fit, and it will automatically resize its size. Why can't I do that on a component instance?

Photo Viewer

View photos in a modal