{"action":"created","issue":{"url":"https://api.github.com/repos/ocornut/imgui/issues/1693","repository_url":"https://api.github.com/repos/ocornut/imgui","labels_url":"https://api.github.com/repos/ocornut/imgui/issues/1693/labels{/name}","comments_url":"https://api.github.com/repos/ocornut/imgui/issues/1693/comments","events_url":"https://api.github.com/repos/ocornut/imgui/issues/1693/events","html_url":"https://github.com/ocornut/imgui/issues/1693","id":308260747,"number":1693,"title":"Dual screen HiDPI and regular DPI","user":{"login":"hateom","id":7631245,"avatar_url":"https://avatars3.githubusercontent.com/u/7631245?v=4","gravatar_id":"","url":"https://api.github.com/users/hateom","html_url":"https://github.com/hateom","followers_url":"https://api.github.com/users/hateom/followers","following_url":"https://api.github.com/users/hateom/following{/other_user}","gists_url":"https://api.github.com/users/hateom/gists{/gist_id}","starred_url":"https://api.github.com/users/hateom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hateom/subscriptions","organizations_url":"https://api.github.com/users/hateom/orgs","repos_url":"https://api.github.com/users/hateom/repos","events_url":"https://api.github.com/users/hateom/events{/privacy}","received_events_url":"https://api.github.com/users/hateom/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-24T13:04:11Z","updated_at":"2018-03-24T13:11:55Z","closed_at":"2018-03-24T13:11:55Z","author_association":"NONE","body":"Hi,\r\n\r\nI have an issue on mac with dual screen setup where one screen is retina display (HiDPI) and the other one is regular DPI.\r\nWhen the window with ImGUI is moved to the other display the UI get scaled 50% down to the lower bottom corner.\r\nHow to properly handle this? I'm using QT and OpenGL3 custom implementation."},"comment":{"url":"https://api.github.com/repos/ocornut/imgui/issues/comments/375888345","html_url":"https://github.com/ocornut/imgui/issues/1693#issuecomment-375888345","issue_url":"https://api.github.com/repos/ocornut/imgui/issues/1693","id":375888345,"user":{"login":"ocornut","id":8225057,"avatar_url":"https://avatars2.githubusercontent.com/u/8225057?v=4","gravatar_id":"","url":"https://api.github.com/users/ocornut","html_url":"https://github.com/ocornut","followers_url":"https://api.github.com/users/ocornut/followers","following_url":"https://api.github.com/users/ocornut/following{/other_user}","gists_url":"https://api.github.com/users/ocornut/gists{/gist_id}","starred_url":"https://api.github.com/users/ocornut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocornut/subscriptions","organizations_url":"https://api.github.com/users/ocornut/orgs","repos_url":"https://api.github.com/users/ocornut/repos","events_url":"https://api.github.com/users/ocornut/events{/privacy}","received_events_url":"https://api.github.com/users/ocornut/received_events","type":"User","site_admin":false},"created_at":"2018-03-24T13:11:55Z","updated_at":"2018-03-24T13:11:55Z","author_association":"OWNER","body":"Hello,\r\nClosing as duplicate of #1676, please post your questions or feedback there.\r\nAs the moment with the current master branch (single viewport) you can handle this on the application side. Check the current DPI and when it changes you can recreate the fonts are a different size and recreate the style using a base style + `ImGuiStyle::ScaleAllSizes()`.\r\n\r\n"}}
{"actor":{"display_login":"ocornut"}}