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

Size problem TableView and ::setAttribute(Qt::AA_EnableHighDpiScaling)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.9.1
    • Quick: Controls 1
    • None
    • Android 7.0 on Samsung Galaxy S7 and

      I've gtt a problem with the TableView Example.

      If I add QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);  in main.cpp (In my App I'm using the gallery.qml and main.cpp from the Gallery example)

      int main(int argc, char *argv[])
      {
          //--> 
          QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
          QtQuickControlsApplication app(argc, argv);
          if (QCoreApplication::arguments().contains(QLatin1String("--coreprofile"))) {
              QSurfaceFormat fmt;
              fmt.setVersion(4, 4);
              fmt.setProfile(QSurfaceFormat::CoreProfile);
              QSurfaceFormat::setDefaultFormat(fmt);
          }
      

      The size of the text ist very big (See Screenshots). On Windows everything is fine.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            sebastianf Sebastian Frieling
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes