Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate Interplay Between Font Size and Widget Resizing #100

Open
HeikoKlare opened this issue Jul 18, 2024 · 0 comments
Open

Validate Interplay Between Font Size and Widget Resizing #100

HeikoKlare opened this issue Jul 18, 2024 · 0 comments
Labels
Enhancement A Request for an Enhancement of an Existing Feature HiDPI A HiDPI-Related Issue or Feature SWT Issue for SWT

Comments

@HeikoKlare
Copy link
Contributor

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?

@HeikoKlare HeikoKlare added SWT Issue for SWT HiDPI A HiDPI-Related Issue or Feature Enhancement A Request for an Enhancement of an Existing Feature labels Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement A Request for an Enhancement of an Existing Feature HiDPI A HiDPI-Related Issue or Feature SWT Issue for SWT
Projects
Status: 🔖 Ready: Atomic
Development

No branches or pull requests

2 participants