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

Aspect ratio of custom background images on SDDM theme not being preserved #213

Open
tanshoku opened this issue Nov 12, 2022 · 0 comments
Open

Comments

@tanshoku
Copy link

As the title says, when setting a custom background image to the SDDM themes for Sweet, the aspect ratio is not preserved and the image gets squished to fill the screen.

The solution is as simple as adding a line with fillMode: Image.PreserveAspectCrop to Main.qml so it looks like:

PlasmaCore.ColorScope {
    ...

    Image {
    ...
    fillMode: Image.PreserveAspectCrop
    }
@tanshoku tanshoku changed the title Aspect ratio of custom background images on SDDM not being preserved Aspect ratio of custom background images on SDDM theme not being preserved Nov 12, 2022
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

No branches or pull requests

1 participant