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

Alignment for second PShelf item is broken #629

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ShahzaibIbrahim
Copy link
Contributor

Alignment is broken for all n+1 items is broken because GC returns wrong height from the font metrics.

How to Test

Run the PShelfSnippet1 with the following VM Arguments on 200% monitor (Also happens for 100% but difference is not that much visible)

-Dswt.autoScale=quarter
-Dswt.autoScale.updateOnRuntime=true

See if the second item is properly aligned vertically.

Before Fix

image

After Fix

image

Alignment is broken for all n+1 items is broken because GC returns wrong
height from the font metrics.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PShelf in Nebula not scaling during DPI Change
1 participant