aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2021-02-24 13:59:21 +0100
committerMitch Curtis <mitch.curtis@qt.io>2021-05-05 12:34:04 +0000
commit47576dccadac1c56fd3b67d7d0cfcd53e5c8af7e (patch)
tree1235357baca43a5285cb0cae7e971082c7600ffd /src
parent58ae16f9d40b1edbd2369b3571a40d825819c758 (diff)
Doc: fix table of ComboBox's implicitContentWidthPolicy enum values
Can't have newlines in there otherwise it breaks up the table. Pick-to: 6.1 Change-Id: Ia64d94fc6d08dd6000b3663af030c8e5a7a7e3ef Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/quicktemplates2/qquickcombobox.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/quicktemplates2/qquickcombobox.cpp b/src/quicktemplates2/qquickcombobox.cpp
index c12ea962..b5a68ecd 100644
--- a/src/quicktemplates2/qquickcombobox.cpp
+++ b/src/quicktemplates2/qquickcombobox.cpp
@@ -1726,19 +1726,16 @@ void QQuickComboBox::setSelectTextByMouse(bool canSelect)
\value ContentItemImplicitWidth
The implicitContentWidth will default to that of the \l{Control::}{contentItem}.
-
This is the most efficient option, as no extra text layout is done.
\value WidestText
The implicitContentWidth will be set to the implicit width of the
the largest text for the given \l textRole every time the model
changes.
-
This option should be used with smaller models, as it can be expensive.
\value WidestTextWhenCompleted
The implicitContentWidth will be set to the implicit width of the
the largest text for the given \l textRole once after
\l {QQmlParserStatus::componentComplete()}{component completion}.
-
This option should be used with smaller models, as it can be expensive.
The default value is \c ContentItemImplicitWidth.