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

QMenu (or/and QMenuBar)'s different performance after parent widget called setFont between 6.5 and 6.8

XMLWordPrintable

    • Windows

      // in w' constructor call menu->setAttribute(Qt::WA_WindowPropagation, true);
      MainWindow w;
      w.show();
      
      QFont font = w.font();
      font.setPointSize(30);
      w.setFont(font);
      
      qDebug() << w.findChild<QMenu*>()->font().pointSize(); //30
      

        1. 6.5.3.png
          8 kB
          x sj
        2. 6.8.3.png
          8 kB
          x sj
        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
            hwshqtb x sj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes