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

ToolButton and Button size problems

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 5.10.1
    • Fix Version/s: 5.9.5, 5.10.1
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Environment:
      mingw32, Win 10 Pro

      Description

      I think this is a regression from Qt 5.10 (which works fine). When the Button/ToolButton width/height are manually set then the hover background is too big (ToolButton) or the text is outside the button (Button):

      ToolButton {
          text: "T"
          width: 50
          height: width
          //clip: true
      }
      
      Button {
          text: "T"
          width: 100
          height: width
          //clip: true
      }
      

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                qt.team.quick.subscriptions Qt Quick and Widgets Team
                Reporter:
                DanielSt Peter Staab
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes