5

OpenStudio User Interface Scaling Problems (Very Small Buttons)

I have just started using OpenStudio on a 4k monitor and found that the graphical user interface elements do not appear to be scaling correctly. All of the buttons are super tiny and hard to click.

Is there a setting or configuration file I can change to scale the interface elements?

JustinShultz's avatar
1.3k
JustinShultz
asked 2019-02-07 08:02:57 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2019-02-07 12:51:49 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

4 Answers

4

After following @Aaron Boranian's answer I discovered an easier work around.

  1. Find either your OpenStudio shortcut or OpenStudio.exe file.
  2. Right click the file and select Properties.
  3. Click on Compatibility tab at the top of the properties window.
  4. Select Change high DPI settings.
  5. At the bottom, under High DPI scaling override, check the box that says Override high DPI scaling behavior.
  6. Change the Scaling performed by: drop down to System.

image description

JustinShultz's avatar
1.3k
JustinShultz
answered 2019-03-22 06:22:27 -0500
dhollman's avatar
397
dhollman
updated 2019-03-22 06:25:07 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
3

There is a way to tell your machine how to scale resolution for specific programs. The link below explains the steps, and comes with a video tutorial.

http://www.danantonielli.com/adobe-ap...

Aaron Boranian's avatar
14.1k
Aaron Boranian
answered 2019-02-07 14:53:06 -0500
edit flag offensive 0 remove flag delete link

Comments

Aaron, thank you for the response. That worked like a charm!

JustinShultz's avatar JustinShultz (2019-02-07 15:12:02 -0500) edit
1

In the comments to the above article, the author notes that Windows 10 has built the fix in by right clicking the application > Properties > Compatibility > Change high DPI settings > (at the bottom) Check Override high DPI scaling behavior > Scaling performed by: System.

JustinShultz's avatar JustinShultz (2019-02-07 16:27:16 -0500) edit

If you have to manually create an app manifest this seems like an oversight or bug in OS. Has anyone filed an issue with them?

dhollman's avatar dhollman (2019-03-20 15:34:10 -0500) edit

@dhollman there seems to be a DPI-related issue posted on OpenStudio's GitHub page. Feel free to add, vote, etc. to show the OpenStudio team that this should be higher priority (no activity since the issue was posted).

Aaron Boranian's avatar Aaron Boranian (2019-03-20 16:00:12 -0500) edit

This issue was more easily solved by changing the compatibility options in windows under properties and change DPI settings. See this image.

JustinShultz's avatar JustinShultz (2019-03-21 17:33:00 -0500) edit
add a comment see more comments
1

Generally speaking, Qt should scale for High DPI displays (automatically on Unix, apparently there's potentially something to be done on Windows) and do about fine.

But, if happen to not like the automatic scaling that Qt does, there's a way to actually customize exactly the scaling factor you want, and which also applies to Unix systems (Ubuntu and macOS), by using Environmental Variables

https://github.com/NREL/OpenStudio/bl...

For eg you could set QT_SCALE_FACTOR=1.5 and see the difference. On my ubuntu, I can just pass that as I launch the app for eg:

 QT_SCALE_FACTOR=1.5 /usr/local/openstudio-2.9.1/bin/OpenStudioApp
Julien Marrec's avatar
29.7k
Julien Marrec
answered 2020-02-05 03:25:58 -0500
edit flag offensive 0 remove flag delete link

Comments

Julian, is this answer still fully accurate given your update on https://github.com/NREL/OpenStudio/is... ? You mentioned something about automatic detection of high dpi screens.

dhollman's avatar dhollman (2020-05-14 07:44:43 -0500) edit

If none of these answers satisfy your needs, please open an issue at https://github.com/NREL/OpenStudioApp...

Julien Marrec's avatar Julien Marrec (2020-05-14 08:27:17 -0500) edit
add a comment see more comments
0

I changed my computer's display resolution to lower value when I had this issue.

akr's avatar
137
akr
answered 2019-02-07 08:29:29 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank you for your suggestion. I would hate to use a lower resolution just so that OpenStudio displays correctly. I hope there is a better solution but I will keep your's in mind.

JustinShultz's avatar JustinShultz (2019-02-07 08:50:37 -0500) edit
add a comment see more comments