Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
4.4.3
-
None
Description
It would be useful to have a function similar to "void QTreeView::resizeColumnToContents ( int column )" for QLineEdit.
i.e. QLineEdit::resizeToContent(). It should also leave some place for the cursor.
Or a function "QSize QLineEdit::sizeForString( const QString& string, bool includeCursorAtEnd ) const".