InputText properties

Hi, I have a two questions about the InputText class.

  1. How can I set this component with rounded corners, similar to what is possible with a button?
  2. The “color” property is linked to the concrete color of the border of the inputbox and at the same time to the color of the font of the text inside. But how can I set only the color of the text separately?

Situation:

There is no cornerRadius for inputText (maybe that could be added?)

So what I do, I create a rectangle 5px bigger than the inputText that I add in this rectangle with a border. I also remove the border from the inputText which is now in the rectangle.

It gives what you’re asking for in a workaround, but it works visually.

2 Likes