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

Remove the magical verticalMargin and horizontalMargin from QLineEdit

XMLWordPrintable

      The size and painting of QLineEdit uses two #define not available via the public API:
      #define verticalMargin 1
      #define horizontalMargin 2

      A common question is to set the size of QLineEdit to fit exactly a certain content. This is a problem because of those contansts. It would be better if that was available via QStyle.

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

            bachewii Jens
            poulain Benjamin Poulain (closed Nokia identity) (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes