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

QPushButton click is not working when Margin is set via styleheet

    XMLWordPrintable

    Details

    • Platform/s:
      macOS, Windows
    • Commits:
      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

        For Gerrit Dashboard: QTBUG-87706
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            vhilshei Volker Hilsheimer
            Reporter:
            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