Change part of text color or weight in button label?

Hi,

Is it possible to change part of a label so I can highlight a specific word to change the color or make it bold/italic?

For example, Test would be black, but Button could be red and bold!: “Test BUTTON

Thoughts?

You could use an html widget as a frontend for your button.

1 Like

I'm trying this but am unsure. Would I ...

  1. create a html widget and enter text in the html field? Or value field?
  2. create a button and in the label field type @{html_1}

I confess I tried this and can't figure it out. Sigh. Want to learn but having troubles.

My previous answer is from before the html property was added to all widgets, now you would use it (with label to false) along with css to display custom content in the widget.

Got it! Thanks