Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QPushButton does not scale on pressed state (regression from Qt 5)
Forum Updated to NodeBB v4.3 + New Features

QPushButton does not scale on pressed state (regression from Qt 5)

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 153 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    summit
    wrote last edited by
    #1

    In Qt 5, a QPushButton with an icon defined in the stylesheet would visually scale down when the :pressed pseudo-state changed the icon-size property.
    In Qt 6.10, the same stylesheet no longer causes the icon to scale. The button press state shows no visual change, creating a regression in UI behavior.

    1 Reply Last reply
    0
    • W Offline
      W Offline
      Wladimir Leuschner
      wrote last edited by
      #2

      I tried to reproduce it with 6.7 and the icon-size property has there also no effect. I created a bug report about this at https://bugreports.qt.io/browse/QTBUG-142121

      S 1 Reply Last reply
      2
      • W Wladimir Leuschner

        I tried to reproduce it with 6.7 and the icon-size property has there also no effect. I created a bug report about this at https://bugreports.qt.io/browse/QTBUG-142121

        S Offline
        S Offline
        summit
        wrote last edited by
        #3

        @Wladimir-Leuschner Still not corrected in 6.10.

        1 Reply Last reply
        0
        • W Offline
          W Offline
          Wladimir Leuschner
          wrote last edited by
          #4

          Also mentioned that version in the bugreport.

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved