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

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

XMLWordPrintable

    • macOS
    • c3f74bdc3ffdc69dce17530f9fafb2d6d15b746b (qt/qtbase/dev) 5d1da325afb099487bff0fbfc0df33f791ec6b8e (qt/qtbase/5.15)

      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

        1. qtbug85723.tar.gz
          2 kB
          Irfan Omair
        2. Icon_cropped (1).png
          3 kB
          Irfan Omair
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes