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

ToolButton and Button size problems

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • 5.9.5, 5.10.1
    • 5.10.1
    • Quick: Controls 2
    • None
    • 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

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              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