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

QToolButton has scaled down icon when adding to QToolBar

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.1.1, 5.2.0
    • Fix Version/s: Some future release
    • Labels:
      None
    • Environment:
      Windows XP, Win7. Works in in Mac OS.
    • Platform/s:
      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            zumteufel Jan Faroe
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes