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

WindowsVistaStyle: Artifact in QPushButton with menu in highDpi mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.0
    • 5.11
    • Widgets: Styles
    • None
    • 5c60e4b8f9cc88e48f5e7652eefe90e1366ae23d

    Description

      The size of the arrow of QPushButton with menu is anti proportional to the scaling factor. Either the triangle could be bigger, or it could have the same nice marker as the comboboxes have (after the recent HighDpi fixes in windows style)

      This is how the menu gets added to a QPushButton:

          auto menu = new QMenu;
          menu->addAction("A");
          menu->addAction("B");
          menu->addAction("C");
          ui->pushButtonWithMenu->setMenu(menu);
      

      Attachments

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

        Activity

          People

            anrocha André De La Rocha (Inactive)
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes