aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/controls/data/tst_tabbutton.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2016-02-05 10:29:55 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2016-02-06 13:16:07 +0000
commit51d8385e7eba662d63b73e2c9fa9b01ddc12cc51 (patch)
tree7bb86364820537269442b37b86a1f48455c03ed3 /tests/auto/controls/data/tst_tabbutton.qml
parent80941f854f20f02f345fa36c5c2f3626ba0a95ee (diff)
TabButton: migrage from label to contentItem
Change-Id: I026bca7620235fbdd5e8b870c7e4f643ae0dcf49 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'tests/auto/controls/data/tst_tabbutton.qml')
-rw-r--r--tests/auto/controls/data/tst_tabbutton.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/controls/data/tst_tabbutton.qml b/tests/auto/controls/data/tst_tabbutton.qml
index 3a817cfd..f755c081 100644
--- a/tests/auto/controls/data/tst_tabbutton.qml
+++ b/tests/auto/controls/data/tst_tabbutton.qml
@@ -85,7 +85,7 @@ TestCase {
function test_baseline() {
var control = tabButton.createObject(testCase)
verify(control)
- compare(control.baselineOffset, control.label.y + control.label.baselineOffset)
+ compare(control.baselineOffset, control.contentItem.y + control.contentItem.baselineOffset)
control.destroy()
}
}