Yes this is possible:
Use a CustomString widget (render as html=true) and in the end event build up your string like:
that should do the trick!
EDIT: Just wanted to add: be cautious in using these kinds of solutions, as they are terrible for maintainability: future developers/ops will have no idea where the styling is coming from. A better solution would be to alter the widget, add a microflow to the widget which retrieves a value at run time. The best solution however would be to don't do it: stay within the standard functionality of Mendix, and find an alternative solution to the problem / visual representation of the issue that does not require you to implement this :)
Hope this helps!
Unfortunately, it is not possible to do stuff like this in a microflow.
Thanks for your answer, however please correct me if I did some step incorrectly.
This is the component that I want to adjust (the highlighted one).
This is my string at the end of event.
Also, it does appear right here when I inspect on it.
However, the size of the widget has not been adjusted at all.
I appreciate your assistance.