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

Padding and Margin bug in QLabel STILL PRESENT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 5.9.1
    • GUI: Painting
    • None
    • Windows 7, Windows 8.1, Qt 5.9.1.

    Description

      The padding-left is not predictable in QLabel Control. In QPushButton it works correcly but for QLabel - not.

      set margin to other than 0px value and padding to equal 0px. The effect is not correct. Additionally set margin to 26px, padding to 0px, border:1px solid #000 and text left aligned and some border-radius. Does the effect is intuitive? Text before the border?

      Due to these bugs I must replace all QLabels with other unaffected QWidgets.

      I report new bug because I cannot reopen bug reported in Qt4.6 and CLOSED but the bug gone back.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            bugreporter1801             
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes