Blueforcer / awtrix3

Custom firmware for the Ulanzi Smart Pixel clock or self made awtrix. Getting started is easy as 1-2-3
https://blueforcer.github.io/awtrix3/
Other
1.26k stars 109 forks source link

[BUG] Icon width not displayed correctly #336

Closed k-a-r-g closed 11 months ago

k-a-r-g commented 12 months ago

Bug report

Describe the bug

All icons in custom apps and notifications seem to be displayed with 8 pix width. Stock apps display the full width. Issue can be observed best with calendar icons from lametrix.com, e.g. id #11567. The icon is also displayed smaller in the file section of the http server.

Additional information

To Reproduce

service: mqtt.publish data: qos: 0 retain: false topic: awtrix_kitchen/notify payload: |- { "text": "Test", "icon": "11567" }

Expected behavior

Display of full icon.

Screenshots

https://github.com/Blueforcer/awtrix-light/assets/11861332/c7a60251-55cc-4e09-b6d5-a596a4c65398

Blueforcer commented 11 months ago

All icons are 8x8. also ID 11567 The native time app draws it instead of using a icon. Here the "icon" is 9x8

k-a-r-g commented 11 months ago

Hi, thanks for the reply. My bad, I guess it is not a bug then and can be closed. As a feature request: is it possible to add an offset for scrolling text to the JSON properties? Like in combination with pushIcon=0, so that a particlular part of the screen is left untouched?

Blueforcer commented 11 months ago

There is already a textOffset option

k-a-r-g commented 11 months ago

I feel so bad wasting your time. Anyway, thanks for your great support for a great application!