Commit 6c9ba0eb authored by J-P Nurmi's avatar J-P Nurmi
Browse files

Android/SwitchStyle: use TextMetrics instead of FontMetrics


Ensures that the thumb text width is correctly calculated regardless
of QML's arbitrary binding evaluation order.

Change-Id: I71526db963fec6d54ad717f46382537591268e37
Reviewed-by: default avatarMitch Curtis <mitch.curtis@digia.com>
Reviewed-by: default avatarCaroline Chao <caroline.chao@theqtcompany.com>
parent 1e985e46
Showing with 11 additions and 5 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment