150% scaling (else its impossible to read anything)[/quote]
I agree with Dave and i have seen it now too. I set the scaling to 150% and on my 4k monitor it happens the same. I am pretty sure Dave is right, because when i set the left side of the groupboxes on an uneven number and lock the rightside of the left box and the right box unlock the leftside then resizing the window the right side of the left groupbox flickers on an off with every move.
Align the groupboxes on an even number and the result on my pc is not perfect but better.
In the end, its a bug in xojo. No other IDE I use have this issue, independent how wide or at what position the groupbox is.
Why would I need to set an uneven or even position in order for a control to be visible as it should? I believe its a scaling issue. When I set scaling to 125%, the groupbox is OK.
Maybe its an Xojo error, maybe its not… but the fact that no other IDE has the issue doesn’t prove anything… unless those other IDES are in fact Retina/HDPI compatible… which I know that there are many that are not
best way to tell … set scale to 100%… create a similar layout in both IDE … take a screen shot of each. then look at them zoomed in a paint program… you should see various lines in the Xojo screen shot as 1 pixel wide… are the similar lines in the other screen shot also 1px wide (many will be 2 indicating they are not HDPI)
but at 125% the rounding error will still be there but much less noticeable
Nothing to do with that. I can just create a new xojo project and only drop 1 groupbox on the window. As long the width is even, its ok, but whatever uneven width I chose (101, 201…) the right border vanish. Thats definitely not right.
And here is the same made uisign another ide/language and its as it is supposed to be.
You should report the bug through the feedback application, with all that evidence attached. You can download the latest version of Feedback from https://www.xojo.com/download/extras.php (log in required).
Until this is fixed, which may take some time, seems to me a workaround should be possible by making sure width is always even.
If GroupBox1.width mod 2 <> 0 then GroupBox1.width = GroupBox1.width -1
This in the resized event of the window should do it.