vi-eclipse / Eclipse-Platform

Umbrella repository for managing a backlog of features/issues related to the Eclipse Platform
2 stars 0 forks source link

Validate Interplay Between Font Size and Widget Resizing #100

Open HeikoKlare opened 4 months ago

HeikoKlare commented 4 months ago

With the new HiDPI support, fonts are scaled according to the monitor's native zoom, while widgets and their bounds are scaled according to the "corrected" zoom. In particular, with scale mode integer200, the widgets and their sizes are thus scaled differently than the fonts. E.g., with 150% scaling, the font will be scaled by factor 1.5 while a widget (e.g., a label) will be scaled by factor 2 in each dimension. Even without considering that double font size does not mean double text height/width, this could lead to problems.

This interplay should be evalued, in particular w.r.t. why it did not lead to severe problems yet. It is because widgets usually don't have a fixed size but one determined by either their contents (i.e., the text of a button or label) or by their layout?