'Support' wrote:
I think, it's a standard behaviour?
I'll check it.
You can help me if send a test-app
I was able to finally analyze the problem, and I think I've found what is causing the error ! ๐
It's the integer-width rounding. About 1 pixel too small after ScaleBy. That's why it's breaking into 2 lines, when it shouldn't.
Like sCheckBox1.width=77 >> ScaleBy(172,100); >> 132.44 = >> 132px.
An easy way to test and prevent it, to change ALL TsCheckBox Captions by adding a ' ' space after it. And voala.
Of course it would be better, if it would calc the correct width ๐