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/universal | |
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/universal')
-rw-r--r-- | src/imports/controls/universal/ComboBox.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/universal/ComboBox.qml b/src/imports/controls/universal/ComboBox.qml index 8c86fc72..633abf47 100644 --- a/src/imports/controls/universal/ComboBox.qml +++ b/src/imports/controls/universal/ComboBox.qml @@ -114,7 +114,7 @@ T.ComboBox { //! [popup] popup: T.Popup { - implicitWidth: control.width + width: control.width implicitHeight: Math.min(396, listview.contentHeight) topMargin: 8 bottomMargin: 8 |