About scrolling to notification label of OLED Display #1770
arnold-wiznet
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am a newcomer on hardware-related coding projects and after I install the firmware to my custom board with ssd1306 of size 128x64 as screen, the notification in the center will have two problems if the amount of word exceeds the boundary
During connection to wifi, if the phrase is too long, the notification will be having a connecting to xxx on top and and ... on bottom, which the text will be not shown properly. I managed to make the notification in a marquee behavior by adding lv_label_set_long_mode(notification_label_, LV_LABEL_LONG_SCROLL_CIRCULAR); to oled_display.cc but I do not know if it is a preferred bevahior for the Oled Screen of 128x64 or even if it is the correct method to change it so that people can see it
I haven;t figured a solution yet but even if text are aligned in center, but when the status is too log ( searching for network), it will cover the wifi icon and the battery icon.
Im wondering if it is better to use a new file to represent my own board display or does the behavior of the above two situation was not the originally planned and needed fix.
Beta Was this translation helpful? Give feedback.
All reactions