Closed niansa closed 2 months ago
Nice, cool to hear it working in that environment.
Please try using dp
units instead of px
units if you're not already doing that.
Yes, I'm already using dp
units.
Are you using our backend directly? Please note that this backend handles DPI-changes automatically, so please check that you're not being overridden by the built-in behavior. Otherwise, please provide a full reproducible so we can understand exactly what is being done here.
Yes, I am using the backend directly. Should I copy it into my own source tree to remove the DPI handling code?
Yeah, that would be one approach. For testing you could also try setting the dp-ratio during your update loop.
Hi. Currently trying to figure out if I can target devKitPro (Switch) with RmlUi. And indeed! It works:
However, the DPI is clearly wrong. So I'm doing this:
However, there is no visible difference even with values like 20. What could be wrong here?