How to set label width to automatic

Hi,
Does anyone know how to set the width of the input label, It is too long . could vanilla-renderers automatically set inputs label length to the max length of multiple input labels
image

Hi @wss29,

The React Vanilla renderers come with no styling at all. We have an example stylesheet but this must be explicitly imported.

Looking at the screenshot: This looks like the JSON Forms based property view for Theia? There we are using this stylesheet. Feel free to adjust the CSS in the way you see fit in your application.

1 Like