user avatar
Android/SwitchStyle: use TextMetrics instead of FontMetrics
J-P Nurmi authored
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>
6c9ba0eb