Open Gloomyeye opened 2 months ago
There is existing code in https://github.com/lanrat/homeplate/blob/main/src/message.cpp#L27 that dynamically adjusts the font size so that a message can fit within the display area. It currently is only used by the message activity, and only for text that takes up the entire screen.
I don't think it would be too much work to modify it to take a variable screen area as an additional input and use it for the wifi activity as well.
I would welcome a PR with this enhancement if you or anyone else wants to tackle it.
Thank you for your hints. However, I am not familiar with C or C++. I could test the changes if someone handle this.
@pimlie: I notice that you are active with fixing some bugs. Maybe you could help me with that bug. I would appreciate it.
Hello,
thank you for your great project and your effort. If I try to see the QR_WIFI_PASSWORD (17 characters long) I have entered, I have to realize that it is displayed over the edge of the display and extends into the QR code. The password is not readble as well as the qr code is can not be used correctly. Unfortunately, I don't see any way to change the font size of the password so that the password can be displayed correctly. It is possible to add this feature inside the config.h? Alternatively, it is possible to add a logic which counts the characters and decrease the font size automatically.
Thank you!