aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/controls/data/tst_combobox.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-08-09 13:42:56 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-08-11 07:21:26 +0000
commit0bf6a3f4255c2e082db1f84de19034f05c48ce56 (patch)
tree249c285f319ceb85ffe6ac38f5cd7b3808c0009c /tests/auto/controls/data/tst_combobox.qml
parent038a0c308a03977d3694e16b31c1cf7c7e1a5611 (diff)
Add ComboBox::flat
[ChangeLog][ComboBox] Added a flat property that provides more suitable looks for using ComboBox in a ToolBar. Task-number: QTBUG-54935 Change-Id: Id458a078486aeac5d542a57f3ed247d63d25e95c Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/controls/data/tst_combobox.qml')
-rw-r--r--tests/auto/controls/data/tst_combobox.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/controls/data/tst_combobox.qml b/tests/auto/controls/data/tst_combobox.qml
index 53ed1cac..4db8c439 100644
--- a/tests/auto/controls/data/tst_combobox.qml
+++ b/tests/auto/controls/data/tst_combobox.qml
@@ -92,6 +92,7 @@ TestCase {
compare(control.count, 0)
compare(control.model, undefined)
+ compare(control.flat, false)
compare(control.pressed, false)
compare(control.currentIndex, -1)
compare(control.highlightedIndex, -1)