- Home /
Question by
WillNode · Jul 24, 2018 at 12:18 PM ·
guiguistyledpiretinadisplay
How to scale GUIStyle border similar to UI's referencePerPixels?
I'm working with a project that uses IMGUI as the GUI system rather than the new UnityEngine.UI and stuck when making the GUIStyle look crisp on High-DPI/retina display.
In the new UI there's something called Reference Per Pixels which used to scale image borders easily. However I can't found the same configuration with IMGUI.
So how does one scale GUIStyle borders properly?
Here's an image that I want achieve. Look at how crisp the text and the scrollbar button (while text field scrollbar field is very blurred)
screenshot-300-copy.png
(20.7 kB)
Comment