fix(window): high-DPI scaling + tighten Settings/About spacing (#238)#253
Merged
fix(window): high-DPI scaling + tighten Settings/About spacing (#238)#253
Conversation
…ays (#238) On high-DPI displays (125%/150%), the window could grow larger than the visible screen area, clipping buttons off-screen. maxFitHeight now uses 80% of availHeight instead of availHeight - 50. Also reduced Settings and ManageAccount window size from 880x680 to 660x580 so they fit better on smaller/scaled displays. Closes #238
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
On high-DPI displays (125%/150%), the window grows larger than the visible screen area. Buttons at the bottom (e.g. Settings "返回") get clipped off-screen. Reported across 4K 150%, 125% scaling, and laptop screens.
Also tightened Settings/About page spacing to reduce excess whitespace below the footer.
Changes
maxFitHeightcaps at 80% ofscreen.availHeightinstead ofavailHeight - 50— scales proportionally for both 4K and 768p displays1.5rem→1rem 1.5rem, container gap1rem→0.75rem1.5rem→1rem 1.5rem, added lshw54 to creditsCloses #238