meshtastic / firmware

Meshtastic device firmware
https://meshtastic.org
GNU General Public License v3.0
3.03k stars 726 forks source link

Enhancement: Air Quality values getting cut off #3751

Closed HarukiToreda closed 2 months ago

HarukiToreda commented 2 months ago

When Telemetry is turned on, the Air quality values are getting cut off at the bottom of the screen. I think reducing the header size will give enough room for this to show on smaller screens like on the Heltec V3.

20240430_000502

todd-herbert commented 2 months ago

In EnvironmentTelemetry.cpp, it might be an idea to modify the drawFrame method, so that it checks display->height(). If the height is below some value, could then useFONT_SMALL everywhere FONT_MEDIUM is used?

HarukiToreda commented 2 months ago

In EnvironmentTelemetry.cpp, it might be an idea to modify the drawFrame method, so that it checks display->height(). If the height is below some value, could then useFONT_SMALL everywhere FONT_MEDIUM is used?

Thank you, I think I have a working rough draft, I will wait for my other pull request to post the fix for this.

20240430_011336

ponzano commented 2 months ago

Very nice fix, thank you :)

thebentern commented 2 months ago

Closed by #3785