UMG Thin lines are disappearing on low resolution
Hi. In our UI we have elements that are 1px thin and the problem is that some of them are disappearing when screen resolution is low. It is caused by DPI Scaling and my question is if I can somehow solve this issue without changing DPI Scaling curve?
I've tried setting higher image size, but then it looks ugly as some lines are rendering with 1px height and some are rendering with 2px height on screen. Is there any chance to set these images to always have atleast 1px height or have them render all with the same size on screen? If not, is there any other solution?
Here are examples showing the problem:
1px with lower resolution:
2px with lower resolution:
asked Aug 13 '18 at 05:20 PM in Rendering
Not sure whether you can fix this with DPI scaling but here's an alternative you test quickly - override widget's onPaint and draw lines in its context - see how this behaves in different resolutions.
This will also allow you to have actual control over the lines (if you need it).
Follow this question
Once you sign in you will be able to subscribe for any updates here