Top-Ranger / harbour-vocabulary

Vocabulary is a vocabulary trainer for SailfishOS designed to be used independent of the language you want to learn.
Apache License 2.0
5 stars 6 forks source link

Text size issue on some screens #22

Closed sfbg closed 7 years ago

sfbg commented 7 years ago

On the Sony Xperia X screen, labels are the right size, but text is too small:

screenshot_20170930_001

sfbg commented 7 years ago

It seems that Label instead of Text as item type would solve the issue.

Top-Ranger commented 7 years ago

I will look into it (even though I don't have an Xperia)...

The problem with Labels is - if I remember correctly - that they do not wrap text, so long vocabulary will go off screen.

The solution will probably be to set an explicit font.pixelsize, although I have to test it somehow (I may need your help with that).

sfbg commented 7 years ago

I can gladly test it. My MerSDK VM is somehow broken and can't build for ARM, otherwise I could have tried to fix and test it myself.

Top-Ranger commented 7 years ago

It seems that Labels actually work.

I've attached a version with the Text elements replaced by Label elements. Can you test it please? Thanks for your help.

harbour-vocabulary-1.8-1.armv7hl.rpm.gz

EDIT: You need to unzip it first:

gunzip harbour-vocabulary-1.8-1.armv7hl.rpm.gz
sfbg commented 7 years ago

I've tested in on the Xperia. The problem is now solved.

Top-Ranger commented 7 years ago

Thanks a lot