In my project I have a ContainerControl with a horizontal line at the top.
Various times when iI run the program the horizontal line is completely off.
It isn’t horizontal anymore.
When I look at the Inspector, it’s wrong too.
The Inspector is completely mixed up.
[quote=154495:@Don Lyttle]Yeah, actually it was reported … it has the distinction of being the very first bug I encountered after starting with Xojo. link text
I’m like Gavin … gave up trying to use the line at all … using a rectangle with 1px or 2px width does the job without any of the “line” headaches.[/quote]
OK. I found <https://xojo.com/issue/27420> reported back in June 2013 ! Apparently at the time it was about lines in containers.
I added this :
Lines misbehave not only in containers but when placed on a window as well.
The problem periodically rises again and again, and each time we all recommend using separators, 1 px wide or tall rectangles, or canvases.
I did not realize the bug had been reported as far back as June 2013. Would it not be simpler to remove the line entirely, if it decidedly cannot behave ?
Given the content of the thread at the time, I was surprised Manuel limited that to containers and nobody noticed.
I just regret nobody seems to have had the good idea to post a project that shows the line going crazy.
Vertical and horizontal can be replaced fairly easily, but at any angle, a working line would really be necessary. I wonder if reinstating by code x,y and x1,y1 would be a valid workaround.