diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-05-09 16:09:07 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-05-10 12:47:26 +0000 |
commit | 28b2f4b090f971c79bc1e2f9afa2b1424c0bd642 (patch) | |
tree | d245cc0f0d658e8829cccb7ebd941300286083c6 /src/imports/controls/ComboBox.qml | |
parent | 0935e65a50f8a90569e300021ccaafabbead4e79 (diff) |
ComboBox: restore the old popup behavior
Make the Popup follow ComboBox outside the horizontal screen bounds.
Setting an explicit width instead of implicit width does exactly this.
Change-Id: I46f4e5e40d5012929badf39d50d70b9a7811f455
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/ComboBox.qml')
-rw-r--r-- | src/imports/controls/ComboBox.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/ComboBox.qml b/src/imports/controls/ComboBox.qml index 23729775..ed723c09 100644 --- a/src/imports/controls/ComboBox.qml +++ b/src/imports/controls/ComboBox.qml @@ -102,7 +102,7 @@ T.ComboBox { //! [popup] popup: T.Popup { y: control.height - (control.visualFocus ? 0 : 1) - implicitWidth: control.width + width: control.width implicitHeight: listview.contentHeight topMargin: 6 bottomMargin: 6 |