marcelrebmann / corona-widget-ios

🇩🇪 Corona (Covid-19) Widget für iOS für Scriptable App (Inzidenz, Neuinfektionen, Impfquoten + Trends)
MIT License
30 stars 3 forks source link

numbers get truncated #2

Closed depressiveRobot closed 3 years ago

depressiveRobot commented 3 years ago

At first, a big thank you for your widget!

Unfortunately, with the newest update numbers get truncated or wrapped due to not enough space. See attached screenshot. This happens for the 7-day incidence, too (yesterday it was 2...)

Screenshot 2021-01-17 at 09 23 31

depressiveRobot commented 3 years ago

Seems to happen with the medium widget only.

IMG_0BA81EAE9DAC-1

marcelrebmann commented 3 years ago

Hi,

great point - this seems to happen on smaller, non-Max devices only. There was indeed an issue with the spacing for the medium sized widget. I published a fix in a separate branch - I would appreciate it if you could checkout this version and tell me, if it solves the problem! :) https://github.com/marcelrebmann/corona-widget-ios/blob/bugfix/spacing-medium-size/incidence.js

depressiveRobot commented 3 years ago

I've tested the branch. The problem still exists for the incidence number. FYI, I'm using an iPhone X.

Screenshot 2021-01-17 at 21 14 01

marcelrebmann commented 3 years ago

This should be fixed by the latest changes now. Feel free to try it out and give feedback, so that we can mark this issue as resolved! 👍 https://github.com/marcelrebmann/corona-widget-ios/blob/bugfix/spacing-medium-size/incidence.js

depressiveRobot commented 3 years ago

Works now. Thank you for the quick bug fix 🙂