Hi,
this behavior is quite new in our application … is this a bug in the new version 2.2.8?
I already read an earlier closed task “https://wisej.com/support/question/autosize-labels-get-cut-off-when-using-firefox-and-certain-fonts”
but that doesn’t fix this error.
The error obviously only happens if the font is bold (Microsoft Sans Serif 13px <- Standard, AutoSize=true) and the browser is Firefox.
Generally the font of the application looks terrible in Firefox NOW, but in Chrome and Edge everything still looks good.
Best regards,
Harald
This is the solution: SANS-SERIF does not work, I set it back to @default, since then everything works fine with AutoSize=true
And I also tried to remove the <style …> workaround in the default.html … and that works too … only the wrong font was the reason for this behaviour..
Thank you!!!
If I select more than one label in the designer at the same time and click “….” in the font property and select bold THEN all selected labels are automatically set to Microsoft SANS SERIF font
Tried Chrome, IE and Firefox with a Label “Passwort:” set to bold and width 63, which is the minimum before it gets truncated.
this special <style ..> doesn’t work as expected … actually nothing happens after inserting
screenshots in the attachment show the difference
Firefox 80.0 (64-Bit)
Try to add this to your Default.html. A Firefox recent update seems to have changed the rendering of fonts and we had to remove the -0.03em adjustment. Let me know and please send also a screen shot and the FF exact version.
Inside <head>
<style>
/* Fix Firefox wrong font rendering. */
@-moz-document url-prefix() {
div {
letter-spacing: -0.03em;
}
}
</style>
Please login first to submit.