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

QLabel - CSS margin adds extra padding before text

XMLWordPrintable

      If you specify a large font for a QLabel and then set a margin in the CSS stylesheet, extra padding seems to be added before the text.
      If no margin is specified in CSS stylesheet or margin is set to 0, there is no extra padding.

      I don't expect the padding of the text to change when a CSS margin is set.
      A project is attached which demonstrates the issue.

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

            Unassigned Unassigned
            net147 Jonathan Liu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes