Skip to content

Icons of checkboxes are pixelated when device DPI is greater than 100% #1

Description

@bleze
  1. The image below is taken on 4K / 200% monitor and scaled 10x. The red pixel is added to show that the pixels of the checkmark is 4x the size of a normal pixel. I'm guessing a bitmap/png is used for the graphics of checkmarks, rather than vector graphics.

image

125% scaling looks really bad, and can be tested/seen on a normal res monitor.

  1. When focusing the property, the graphics turns from the bitmap to a QCheckBox which looks nice. This also have the side effect of checkbox being moved a few pixels as tried to show here;

image

  1. Notice the blue focused rectangle is also drawn a bit misaligned.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions