diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-02-05 13:13:04 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-02-06 13:16:12 +0000 |
commit | 802f6b747f4cd76bda4395b6bc06dec81da1110c (patch) | |
tree | efe8eaf7c0e5e6622e03994b0c2c604ebfe89157 /tests/auto/controls/data/tst_radiobutton.qml | |
parent | 7280a42c2591609d574ad407189a491f06f04f9d (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.qml | 2 |
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() } } |