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

QPushButton click is not working when Margin is set via styleheet

XMLWordPrintable

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

      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.

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes