Hi,
if a label has AllowHtml = true, the autosize don’t work well. The size of the label is less than the text, in particular with the presence of <br>, <p>and the label is Dock Top
Hi Cristian,
thanks for your message, but this is by design.
Html text can only be measured by the browser.
You might want to use the following methods:
https://wisej.com/docs/2.1/html/T_Wisej_Base_TextUtils.htm
https://wisej.com/docs/2.1/html/M_Wisej_Base_TextUtils_MeasureText_1.htm
or
https://wisej.com/docs/2.1/html/M_Wisej_Base_TextUtils_MeasureTextAsync.htm
Best regards
Frank