Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
5

OpenStudio User Interface Scaling Problems (Very Small Buttons)

asked 6 years ago

updated 6 years ago

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?

Preview: (hide)

4 Answers

Sort by » oldest newest most voted
4

answered 6 years ago

updated 6 years ago

dhollman's avatar

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

Preview: (hide)
link
3

answered 6 years ago

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...

Preview: (hide)
link

Comments

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

JustinShultz's avatar JustinShultz  ( 6 years ago )
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  ( 6 years ago )

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  ( 6 years ago )

@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  ( 6 years ago )

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  ( 6 years ago )
1

answered 5 years ago

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
Preview: (hide)
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  ( 4 years ago )

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

Julien Marrec's avatar Julien Marrec  ( 4 years ago )
0

answered 6 years ago

akr's avatar

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

Preview: (hide)
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  ( 6 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

2 followers

Stats

Asked: 6 years ago

Seen: 913 times

Last updated: Feb 05 '20