-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS: Scale GUI for Retina displays #625
Comments
|
ngscopeclient doesn't use GTK, so any of the pre-2022 issues about scaling won't be relevant. Font scaling is calculated based on GetContentScale() from imgui (see MainWindow::UpdateFonts()). Is it possible there's a double scaling going on where the OS is trying to scale fonts and the application also is, and they're stepping on each other? |
Most UI elements are calculated with sizes based on the font size, so as text size scales everything else should scale to match. So the root cause is likely the font scaling factor being off somehow. |
Looks great, thanks @d235j! |
The GUI is awkwardly scaled on macOS, where most Apple displays are going to be high DPI ("Retina"). Compare the menu text with the titlebar which is the normal system font size. The toolbar items look the right size.
There's some discussion here: ocornut/imgui#3757
The text was updated successfully, but these errors were encountered: