Details
-
Suggestion
-
Resolution: Out of scope
-
P2: Important
-
4.5.2
-
None
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
- depends on
-
QTBUG-4218 QLineEdit::sizeHint() could be smarter when maxLength is set.
-
- Closed
-