ImpulseAdventure / GUIslice-Builder

Cross-platform drag & drop GUI builder for GUIslice
Other
163 stars 34 forks source link

Builder 4K Resolution Support #202

Closed aminhusni closed 1 year ago

aminhusni commented 2 years ago

The builder sofware does not show well on 4K monitor. Some of the menus are cropped and inaccessible.

Steps to reproduce the behavior: Open software in 4K monitor.

2022-05-02 21_55_03-

Version

Pconti31 commented 2 years ago

@aminhusni Your issue is likely a windows feature introduced in windows 8 called per display DPI setting, The feature is supposed to keep application window at the same size physically, even when dragging them across displays with different density.

The problem is that the Builder app uses java Swing and thus isn't DPI-aware but java lies to windows and tells it that it is aware. Screwing everything up.

You can tune this display DPI setting feature on a per application basis. Unfortunately the builder isn't the exe its javaw.exe.

Try this:

  1. Find javaw.exe (it's inside %JAVA_HOME%/bin/javaw.exe
  2. Right click -> Properties
  3. Go to Compatibility tab
  4. Click on Change High DPI settings
  5. Check the Override high DPI scaling behavior box
  6. for Scaling performed by: Choose System

    Please post here if this works for you or not.
    Paul--

Pconti31 commented 1 year ago

Hopefully fixed in release 17.b12. Note scaling of icon will look poor. looking at new icons that can scale up for a future release.