Details
-
Suggestion
-
Resolution: Invalid
-
P3: Somewhat important
-
4.5.2
-
None
Description
QLineEdit::sizeHint() could return the minimal size to fit the content when maxLength is set.
It could be a problem if maxLenght() is very large. If it is not considered acceptable to change QLineEdit::sizeHint(), we could provide a simple way to compute the best size for a certain content.
Setting the width of the line edit to fit the content is a common request of our users.
Attachments
Issue Links
- is required for
-
QTBUG-4217 Remove the magical verticalMargin and horizontalMargin from QLineEdit
-
- Closed
-