You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't really an issue, but more of a question.
I've been wanting to implement UI scaling in my app for High DPI monitors and I thought the simplest approach would be to just render the entire program to an offscreen render texture and then scale that.
I've been looking at ScaleAllSizes/FontsGlobalScale/ScaleWindowsInViewport but can't get anything to work.
The problem seems to be that no matter what I do there's problems with ImGui and mouse cursor pos/window pos's/sizes, when the offscreen render texture has a different size than the window.
So my question is simply if this is at all possible?
Or if I should just bite the bullet and scale everything manually.
I'm sorry if this is not the correct place to ask.
The text was updated successfully, but these errors were encountered:
There are dozens of same issue tagged with dpi.
I don’t have time to answer again, I’ll work on adjusting examples and perhaps backends to make this easier. But there are many answers scattered around.
MacOS is a little trickier, and multi-monitor with varying dpI + multi-viewports trickier too.
This isn't really an issue, but more of a question.
I've been wanting to implement UI scaling in my app for High DPI monitors and I thought the simplest approach would be to just render the entire program to an offscreen render texture and then scale that.
I've been looking at ScaleAllSizes/FontsGlobalScale/ScaleWindowsInViewport but can't get anything to work.
The problem seems to be that no matter what I do there's problems with ImGui and mouse cursor pos/window pos's/sizes, when the offscreen render texture has a different size than the window.
So my question is simply if this is at all possible?
Or if I should just bite the bullet and scale everything manually.
I'm sorry if this is not the correct place to ask.
The text was updated successfully, but these errors were encountered: