Skip to content

Conversation

DeltaCopy
Copy link
Collaborator

When fractional scaling is >100%. Icons inside buttons, dialog boxes etc are not rendered properly.
This leaves a slight roughness to how the icons are presented as the pixels are visibly more prevalent.

From what I gathered it seems close to the issues seen in #99
Leaving this as WIP for now since we need confirmation.

For example when Darkly is used with the default BreezeDark icons.
darkly_style

The pencil icon at the bottom right demonstrates this issue.
dialog_darkly

The icon beside the Details button and same issue is seen with OK and Cancel buttons.

These changes are taken directly from Breeze, and are mostly around the introduction of devicePixelRatio which was initially missing from Lightly as such this impacts any derivative forks. See https://doc.qt.io/qt-6/qpaintdevice.html#devicePixelRatio

A relog is required for the change to be applied properly.

@DeltaCopy DeltaCopy added the in progress Something is work in progress label Jan 22, 2025
@DeltaCopy DeltaCopy marked this pull request as draft January 22, 2025 12:11
@DeltaCopy DeltaCopy self-assigned this Jan 23, 2025
@DeltaCopy DeltaCopy marked this pull request as ready for review January 23, 2025 08:14
@DeltaCopy DeltaCopy merged commit 6394609 into Bali10050:FeatureDarkly Jan 23, 2025
@DeltaCopy DeltaCopy mentioned this pull request Jan 23, 2025
@DeltaCopy DeltaCopy removed the in progress Something is work in progress label Jan 24, 2025
@DeltaCopy DeltaCopy deleted the dpr branch March 10, 2025 14:45
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.

1 participant