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

QToolButton has scaled down icon when adding to QToolBar

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 5.1.1, 5.2.0
    • None
    • Windows XP, Win7. Works in in Mac OS.
    • macOS

    Description

      As in the headline. Even when setting icon size explicitly, this is ignored. The problem disappears when wrapping the QToolButton(s) in a QGroupBox, but this changes button appearance as well, so not an option.

      I have attached an example project of a tool button added to the main widget and the tool bar. The difference should be clear.

      Link to forum discussion about this issue: http://qt-project.org/forums/viewthread/34965/

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            zumteufel Jan Faroe
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes