Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-91393

Widgets alignments collapse and text getting chopped off when scaling to 125%

    XMLWordPrintable

    Details

    • Platform/s:
      Windows

      Description

      On windows if system scaling has been increased to 125% GUI looks bad. Texts gets chopped off and widgets alignments goes bad too.
      This is happening only when windows settings/scale factor is 125%. If it is made 100% or 150% or 175% it works good.
      Attached example reproduces it
      Steps:
      increased scaling factor to 125 % and run this little example to see it.

      Update:

      This issue is also seen on 150 and 175% in some case. LIke If  HighDPI Scaling enabled  and setting 96Dpi is set. Then it is showing problem with 125% only otherwise issue can be seen.

      QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
      QApplication::setAttribute(Qt::AA_Use96

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              sorvig Morten Sørvig
              Reporter:
              irfan.omair@digia.com Irfan Omair
              PM Owner:
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes