what do the red lines across UI mean

I am struggling with getting the UI layout and keep getting red lines across the UI I am working on.
I ma guessing its an indicator that I have laid something out wrong but don’t seem to be able to get rid of them except deleting what I have and starting again.

This often happens when one of your UI elements is flipped or scaled the other way in the negatives (negative width or height). In your case, it looks like it may be caused by the Image.

1 Like

I have tried rotating the image in the 3 directions but the lines stay there.

‘Fiddling’ with the panel layout made the lines go away so I have saved this layout to disk and will use this layout from now on.
Why would the layout cause the red line if that is supposed to be an alignment problem and is there a setting that I could use so I don’t fall into this ‘trap’ again?