daemonblade / freebsd-eclipse

Tools to build Eclipse port for FreeBSD
3 stars 3 forks source link

Unusual GTK3 widget dimensions #2

Open daemonblade opened 5 years ago

daemonblade commented 5 years ago

The interface looks ugly

huanghwh commented 2 years ago

On HiDPI 200% scale, I had to add these two patches: --- org/eclipse/swt/graphics/Image.java.orig 2022-06-12 01:50:34 UTC +++ org/eclipse/swt/graphics/Image.java @@ -1246,7 +1246,7 @@ void init(int width, int height) { if (surface == 0) SWT.error(SWT.ERROR_NO_HANDLES); // When we create a blank image we need to set it to 100 in GTK3 as we draw using 100% scale. // Cairo will take care of scaling for us when image needs to be scaled.

First patch fixed black area and vertical bar in GUI of pom.xml editor; second patch fixed popup javadoc help on right location when mouse point on the class;