-
Notifications
You must be signed in to change notification settings - Fork 189
Open
Description
- Eclipse 4.38
- Windows 11
- Display set to 200% scaling
When opening a FontDialog the text in the "Font" and "Font Style" lists is bigger than it should be.
(This is not #2866 but a continuation of that.)
Run the Snippet with the property set to true and false.
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.FontData;
import org.eclipse.swt.widgets.FontDialog;
import org.eclipse.swt.widgets.Shell;
public class FontDialogWindowsDoubled {
public static void main(String[] args) {
System.setProperty("swt.autoScale.updateOnRuntime", "true");
Shell shell = new Shell();
FontData fd = new FontData("Arial", 9, SWT.NORMAL);
FontDialog dialog = new FontDialog(shell);
dialog.setFontList(new FontData[] { fd });
dialog.open();
}
}The text in the dialog's lists is bigger than it should be.
This is how it should be if set to false:
This is how it is if set to true:

Metadata
Metadata
Assignees
Labels
No labels
