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

ToolButton and Button size problems

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • 5.9.5, 5.10.1
    • 5.10.1
    • Quick: Controls 2
    • None
    • mingw32, Win 10 Pro

      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
      }
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes