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

windows11 style does not draw arrow for QStyleOptionButton::HasMenu

XMLWordPrintable

    • Windows
    • 133ec7d37 (dev), 7e7c12608 (6.10)

      Detected when testing QTBUG-139957. The test for 139957 is also a reproducer.

      The lowest button is from the windows11 style

       

       

      int main(int argc, char* argv[])
      {
          QApplication app(argc, argv);
          auto button = new QPushButton("Button");
          QMenu* menu2 = new QMenu(button);
          menu2->addAction("Action 2");
          button->setMenu(menu2);
          button->setStyleSheet("QPushButton { background: white; color: black; padding: 6;}");
          button->show();
          return app.exec();
      }
      

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

            chehrlic Christian Ehrlicher
            evenandersen Even Oscar Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes