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

QPushButton click is not working when Margin is set via styleheet

    XMLWordPrintable

Details

    • macOS, Windows
    • 3310e13a17d2249a86fa533e350744c5593be54f (qt/qtbase/dev) 62f86b9b7ab3421c7a74c4c05a186847c76bfb28 (qt/qtbase/5.15)

    Description

      If stylesheet with padding and margin is set on QPushbutton then button click does not works if it is clicked on padded area or margin area. 
      patch  https://codereview.qt-project.org/c/qt/qtbase/+/303936 fixes click on padding area but margin area is still not working.

       

      Attachments

        Issue Links

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

          Activity

            People

              vhilshei Volker Hilsheimer
              irfan.omair@digia.com Irfan Omair
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes