Fix sizeWithFont deprecation warning
Merge pull request #189 from dennisreimann/deprecation-fix

Fix sizeWithFont deprecation warning