Skip to content

Commit

Permalink
Improving Graphical Editor Appearance on Fractional Native Scaling
Browse files Browse the repository at this point in the history
The default setting of the Eclipse Platform for swt.autoScaling is only
only using full integer scale values. For fractional native scaling
settings (e.g., 125%, 175%) this lead to problems as the graphical
elements where not scaled but the text was always scaled with native
scaling.

This commit is now adding the exact as swt.autoScaling parameter as this
greatly improves drawing aspect ratios on screen settings with
fractional scaling settings.
  • Loading branch information
azoitl authored and oberlehner committed Jan 8, 2025
1 parent 0630fe1 commit ca173a5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
-Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true
-Declipse.e4.inject.javax.warning=false
-Dorg.slf4j.simpleLogger.defaultLogLevel=off
-Dswt.autoScale=exact
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.dataAreaRequiresExplicitInit=true
Expand Down

0 comments on commit ca173a5

Please sign in to comment.