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] application: Set highDpiScaleFactorRoundingPolicy to PassThrough #225

Merged
merged 1 commit into from
Feb 11, 2022

Conversation

ales-erjavec
Copy link
Collaborator

Issue

Fixes biolab/orange3#5697 (biolab/orange3#5697 (comment))

Changes

Set highDpiScaleFactorRoundingPolicy to PassThrough when available (Qt5 >= 5.14).
Add cmd parameter '-scale-factor-rounding-policy' to optionally override this while respecting QT_SCALE_FACTOR_ROUNDING_POLICY env variable.

Some visual glitches w.r.t. the windows style are visible with PassThrough and 1.5 scale factor (e.g. on hover over a check box), Fusion style seems fine though.

Add cmd parameter '-scale-factor-rounding-policy' to optionally
override this  while respecting QT_SCALE_FACTOR_ROUNDING_POLICY
env variable.
@ales-erjavec ales-erjavec marked this pull request as draft February 10, 2022 11:25
@ales-erjavec ales-erjavec marked this pull request as ready for review February 10, 2022 12:21
@janezd janezd self-assigned this Feb 11, 2022
@janezd janezd merged commit 24e71df into biolab:master Feb 11, 2022
@ales-erjavec ales-erjavec deleted the scale-factor-rounding-policy branch January 10, 2023 12:47
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.

Plots - Axes not matching with graphs
2 participants