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

[Reg 5.14.2 -> 5.15.0?] Enabling AA_EnableHighDpiScaling crops the labels of ChartView

    XMLWordPrintable

    Details

    • Platform/s:
      Windows

      Description

      With 4K screen and scaling is set to 200%,
      enabling AA_EnableHighDpiScaling (QApplication::setAttribute(Qt::AA_EnableHighDpiScaling),
      crops the labels (Axis, title, chart's name etc.. ) of ChartView.

      The problem is much more subtle with Qt5.14.2.

      How to reproduce :
      1. Use QML charts example https://doc.qt.io/qt-5/qtcharts-qmlchart-example.html
      2. Add this in main()
      QApplication::setAttribute(Qt::AA_EnableHighDpiScaling)

      One of possible workaround is to add an extra space e.g.

              ValueAxis
              {
                  id: axisY
                  labelFormat: "%.1f "
              }
      

        Attachments

        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:
            nagrohn Nahomi Gröhn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes