Problem with Text component and background color

I have a custom list component that has several non-input components nested in it. I’d like one of those components to have a background color which we know, is not available for a normal text component. So, I use a rectangle with a color background and then nest the text component inside it. That solves the color background problem. However, now I want the background color rectangle to match the width of the text component that is nested in it. Does not seem possible to me?
Here’s the current screen image:

The other option I tried was using an input text box component which does allow background color. However, I can’t figure out how to make that component READ ONLY?

Any thoughts or suggestions would be most appreciated!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.