aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/controls/data/tst_radiobutton.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2016-02-05 13:13:04 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2016-02-06 13:16:12 +0000
commit802f6b747f4cd76bda4395b6bc06dec81da1110c (patch)
treeefe8eaf7c0e5e6622e03994b0c2c604ebfe89157 /tests/auto/controls/data/tst_radiobutton.qml
parent7280a42c2591609d574ad407189a491f06f04f9d (diff)
RadioButton: migrate from label to contentItem
Change-Id: Ic2b26c7d61f56ee245de3aee3cbace54014a9cfa Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'tests/auto/controls/data/tst_radiobutton.qml')
-rw-r--r--tests/auto/controls/data/tst_radiobutton.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/controls/data/tst_radiobutton.qml b/tests/auto/controls/data/tst_radiobutton.qml
index d4cdf0ad..1b105f08 100644
--- a/tests/auto/controls/data/tst_radiobutton.qml
+++ b/tests/auto/controls/data/tst_radiobutton.qml
@@ -312,7 +312,7 @@ TestCase {
function test_baseline() {
var control = radioButton.createObject(testCase)
verify(control)
- compare(control.baselineOffset, control.label.y + control.label.baselineOffset)
+ compare(control.baselineOffset, control.contentItem.y + control.contentItem.baselineOffset)
control.destroy()
}
}