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

fix: center plymouth when display resolutions != #25

Merged
merged 1 commit into from
Nov 8, 2021
Merged

Conversation

13r0ck
Copy link
Contributor

@13r0ck 13r0ck commented Nov 8, 2021

The current scaling can be a bit strange with this PR. I will make a PR after this one that should fix plymouth scaling with multiple monitors of differing resolutions.

The current scaling can be a bit strange with this PR. I will make a PR after this one that should fix plymouth scaling with multiple monitors of differing resolutions.
@13r0ck
Copy link
Contributor Author

13r0ck commented Nov 8, 2021

Moved #24 to here to fix branch name

@jackpot51 jackpot51 requested a review from a team November 8, 2021 19:23
Copy link
Member

@jacobgkau jacobgkau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This gets the decryption prompt centered when using multiple displays of differing resolutions. On most machines that I tested, the prompt is sized to the largest display, so when using e.g. a 4k external display with a 1080p internal display, the prompt is larger than normal on the internal display, but is not cut off; this is an improvement over the non-centered prompt. (On darp7 with 20.04, the prompt was sized to the 1080p display, and was smaller than usual on the 4k display; this also isn't really an issue.) This does not affect the prompt's size on a single-display setup. Tested on 20.04, 21.04, and 21.10; tested on Intel and NVIDIA.

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.

Decrypt prompt is far to the right on widescreen monitors 21.04: Encryption prompt off center
3 participants