S T R U C T O R I Z E R - User Guide
Preferences > Scaling

Structorizer is not DPI-aware, i.e. it will not automatically magnify its icons and fonts with very high screen resolutions (like e.g. 4K). This ought to be done by the GUI framework, actually, but JavaSwing fails to do so.

A complete GUI redesign using e.g. JavaFX instead might overcome the problem in the future. But for now only a makeshift workaround based on a scaling factor inserted in the preferences file can be offered.

Version 3.26-01 introduced a new menu item "Preferences => GUI Scaling ..." where you may preset and test a scaling factor for Structorizer GUI:

Preferences meu with GUI Scaling entry selected

This menu item opens a dialog that offers you to preset a scaling factor for the Strctorizer GUI (valid from the next Structorizer start):

GUI Scale Chooser dialog, with standard scale factor 1

The three "Preview" controls on this dialog grow with the selected scale factor, thus demonstrating how the result would look like. For scale factors < 2.0, no direct proportional scaling but a "size variant" mechanism of the Look & Feel is used, which may not be supported by all Look & Feels on any operation system. If an appropriate icon variant with higher resolution is available, then this will be used, otherwise the icons may simply be magnified, which may result in blurry, rough-looking or strongely pixeled images. Make sure by testing that the scaled check box reacts to clicking, otherwise you should try with a different Look & Feel for the wanted scale factor:

GUI Scale Chooser dialog, with scale factor 2.5

From the next Structorizer start on, its icons should be magnified by the pre-selected scale factor. The effect, however, may still strongly depend on:

  • the operating system (Linux / OsX / Windows /...);
  • the display settings of the operating system;
  • the selected Structorizer Look & Feel.

With certain Look & Feel / OS combinations, some of the fonts might resist the scaling attempt. In other environments, the scaling may differ among various controls or it may even be unstable (such that e.g. certain tab or sub menu captions switch their font size on being selected). Title bars would usually not be affected (as their appearance is controlled by the OS), whereas checkboxes at menu items might remain in tiny (i.e. standard) size despite of the magnification of their corresponding captions. Or the checkbox might not properly react to the user activity (some Look & Feel might e.g. show the box checked while and whenever the cursor is hovering over it).

The scaling consistency has been improved substantially between Release 3.36 and version 3.26-01, though in upscaled mode some L&F-specific effects (e.g. "mouse over" shading) may still get simplified or even lost.

So, don't expect too much, please. You might have to experiment a little in order to find out which Look & Feel (and what scale factor) works best for your purposes, machine, and taste.


  • Version 3.25-08 introduced the additional opportunity to enlarge or diminish the font sizes in the element editor text fields by "fontsize up" and "fontsize down" buttons Font up and down button in element editor (also achievable via key strokes <Ctrl><Numpad+> and <Ctrl><Numpad-> while the focus is within one of the enabled text fields), respectively:
    Element editor with font resizing buttons
    This enhancement had to be introduced because on some systems the fonts for these text fields cannot be controlled by the general scaling factor.