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

Remove the magical verticalMargin and horizontalMargin from QLineEdit

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes