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 2019-02-07 08:02:57 -0500

updated 2019-02-07 12:51:49 -0500

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?

edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted
4

answered 2019-03-22 06:22:27 -0500

updated 2019-03-22 06:25:07 -0500

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

edit flag offensive delete link more
3

answered 2019-02-07 14:53:06 -0500

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

edit flag offensive delete link more

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
1

answered 2020-02-05 03:25:58 -0500

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
edit flag offensive delete link more

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
0

answered 2019-02-07 08:29:29 -0500

akr's avatar

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

edit flag offensive delete link more

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

Your Answer

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

Add Answer

Careers

Question Tools

2 followers

Stats

Asked: 2019-02-07 08:02:57 -0500

Seen: 776 times

Last updated: Feb 05 '20