HackerShackOfficial / Smart-Mirror

Raspberry powered mirror which can display news, weather, calendar events
MIT License
908 stars 384 forks source link

Text doesn't display fully #59

Closed ajayjjain closed 3 years ago

ajayjjain commented 7 years ago

On my monitor, the text describing the weather and the news articles does not displays the entire String (shown in the images below). How can I fix it? img_0079 img_0284

meganelizedwards commented 7 years ago

I'm having the same problem... hmmm?

meganelizedwards commented 7 years ago

I figured it out! You have to change the text size in the code. There's a section towards the beginning where it lists 4 different text sizes:

xlarge_text_size = 50 large_text_size = 25 medium_text_size = 12 small_text_size = 10

Those are the numbers I put in and everything fits well now. It might vary depending on the size of your monitor.

Hope this helps!

abduls060 commented 6 years ago

Either you can change the text size or I would recommend to change the value of padding (padx and pady) under the init function of the class FullscreenWindow . For all the three frames (clock, weather and news) I put padx=25 and pady=60. It worked for me. Hope it works for you......!!!!

delahoya1 commented 6 years ago

my news down at the bottom doesn't show any clue why ?