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

[Reg 5.14.1->5.14.2] QGridLayout AlignLeft crops QPushButton Icon

    XMLWordPrintable

    Details

    • Platform/s:
      macOS
    • Commits:
      c3f74bdc3ffdc69dce17530f9fafb2d6d15b746b (qt/qtbase/dev) 5d1da325afb099487bff0fbfc0df33f791ec6b8e (qt/qtbase/5.15)

      Description

      If a QPushButton is added to a QGridLayout, aligned to the left, and has no border, then any associated icon will be slightly cropped.
      Attached example reproeuces it:
      1. Extract and Compile example
      2. Launch the application
      3. Notice that the qpush button that is aligned to the left has it's icon slightly cropped.

      This works with older version of Qt

        Attachments

        For Gerrit Dashboard: QTBUG-85723
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            andysh Andy Shaw
            Reporter:
            irfan.omair@digia.com Irfan Omair
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes