When a label is placed on a form (using solution model) and I surround the content of the label with and I see automatic newlines in the smart client but not in the webclient (see examples). How can I achieve the same result in the webclient?[attachment=1]smart.png[/attachment][attachment=0]web.png[/attachment]
Hi Michel,
You could put it inside a
that has a specific width. This should force it to wrap.Hope this helps.
No go. The problem was that _label.dataProviderID was set to a form-variable. This form-variable contained the html. No wrapping was done also putting the text in a
or element with a fixed width didn’t help. After I changed this to putting the html in the _label.text instead of using the dataProvideId it worked okay.
Thanks for the suggestion.
Thanks for the suggestion.
if you want newlines in html you should use