schorschii / FsClock-Android

Fullscreen Clock Screensaver for Android Smartphone, Tablet & TV
GNU General Public License v3.0
87 stars 37 forks source link

Change the font sizes for digital clock #45

Open GermanKiwi opened 3 months ago

GermanKiwi commented 3 months ago

I'd love to be able to separately change the font size for both the digital time and date. For example, on my phone I'd prefer the time to be much larger and the date to be smaller, especially in landscape where there is more room available for a larger font size. (I have poor vision and need it larger when I'm using my phone as an alarm clock at night).

And with the caveat that if I were to set the font size to a particularly large size for landscape, then it would scale down to a smaller font size in portrait if the text would not fit onto the screen in portrait (ie. I wouldn't want to have the text running off the screen in portrait, just because I like having a very large font size in landscape).

Could this be feasible? Thanks for an amazing and very useful app!

schorschii commented 3 months ago

I'm not sure how to implement this. The font size is already calculated to take up all available space. If you think there is space left, it's maybe a bug. Can you send me a screenshot from your device?

GermanKiwi commented 3 months ago

In portrait orientation you're correct - both the time and date take up (nearly) the full width of the screen.

But in landscape orientation, there is plenty of unused space on the left and right of the text:

And personally I don't need the date to be that big and prominent. I'd rather have a larger time and smaller date.

If the date text is smaller in landscape, it would provide more room for the time text to be "taller" and therefore also wider = larger font size.

Perhaps you could implement this by simply adding a new setting for "Date size" with the ability to choose different sizes for the date text. The time text will then adjust itself automatically based on the available space.