btnFixity.AutoSize = true;
btnFixity.AllowHtml = true;
btnFixity.Text = “  MyText”;
results in a wider than expected button.
It seems it is measuring the width of the 5 “ ” characters instead of the single space that it actually is. Not sure if there’s an easy fix. Might have to use Graphics.MeasureString unless this is addressed.
Also, will use of Graphics.MeasureString or TextRendered.MeasureText, which relies on GDI and GDI+ , break in a WiseJ 3 Linux app?
Please login first to submit.