diff options
Diffstat (limited to 'tests/auto/controls')
-rw-r--r-- | tests/auto/controls/data/tst_pane.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/controls/data/tst_pane.qml b/tests/auto/controls/data/tst_pane.qml index ec188afb..a8d901e7 100644 --- a/tests/auto/controls/data/tst_pane.qml +++ b/tests/auto/controls/data/tst_pane.qml @@ -149,6 +149,18 @@ TestCase { control.destroy() } + function test_implicitContentItem() { + var control = pane.createObject(testCase, {width: 100, height: 100}) + verify(control) + + compare(control.width, 100) + compare(control.height, 100) + compare(control.contentItem.width, control.availableWidth) + compare(control.contentItem.height, control.availableHeight) + + control.destroy() + } + function test_press() { var control = pressPane.createObject(testCase) verify(control) |