[SailfishOS] when sacling rich text, first calculate the scaling, then set the text, fixes issue #47