diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-11-25 01:04:19 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-11-25 08:53:45 +0000 |
commit | 6980589344b67f6a68e5fa86d3ea89d9f659d842 (patch) | |
tree | 9cb7636e2a45ce429436cac99808189ccb95c856 /tests/auto/controls/data/tst_radiobutton.qml | |
parent | 96474dba254526b48e35ffa5b22950185dae43fb (diff) |
Specify baseline offsets
Change-Id: I4845a7beac2edc0f0bcc1c810edd7d9e86f31c87
Task-number: QTBUG-49468
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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/controls/data/tst_radiobutton.qml b/tests/auto/controls/data/tst_radiobutton.qml index df6834fe..d4cdf0ad 100644 --- a/tests/auto/controls/data/tst_radiobutton.qml +++ b/tests/auto/controls/data/tst_radiobutton.qml @@ -308,4 +308,11 @@ TestCase { container.destroy() } + + function test_baseline() { + var control = radioButton.createObject(testCase) + verify(control) + compare(control.baselineOffset, control.label.y + control.label.baselineOffset) + control.destroy() + } } |