Make template width adjust to it text


I have a Toolbar like at this snippet:

And I want to make the width of the template "Company Code" and "User Name" fit to the text in it.

I have tried autowidth but doesn't work.

Does anyone know how can I do that?



  • edited August 2019

    Hey @rogerzanelato, template doesn't have the autowidth property unfortunately, only the autoheight. Intead of a template I'd like to suggest you use a label instead, which does have the autowidth property which you can use:

    Please note that you if need to adjust the font size you can do so via CSS.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion