lubeda / EsphoMaTrix

A simple DIY status display with an 8x32 RGB LED panel implemented with esphome.io and Home Assistant
MIT License
217 stars 23 forks source link

How to center text? #73

Closed poblabs closed 1 year ago

poblabs commented 1 year ago

Hi, I have the Ulanzi clock and so far so good! One question: how do I center the text? For example if I want to display the temperature, 40°, it shows it left aligned next to icon. I'd rather it centered. Thoughts?

lubeda commented 1 year ago

This will come in the next release

lubeda commented 1 year ago

In the upcoming 2023.4.0 version short text will be centered automatically. With this small grid centering isn't that perfect, but i think a bit nicer than left aligned.

poblabs commented 1 year ago

Looking forward to it, thank you!

lubeda commented 1 year ago

Hi, the new version is out, you have to update your clock to use it. The centering isn't that optimal because of the limited pixels.

poblabs commented 1 year ago

Works great, thank you