1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-15 15:03:07 +01:00

Changed 20pt Ubuntu font to 8bit in value pages

This commit is contained in:
2025-03-04 19:24:08 +01:00
parent 8439dcc18a
commit 5192e77fab
4 changed files with 15 additions and 15 deletions

View File

@@ -67,7 +67,7 @@ class PageOneValue : public Page
getdisplay().print(name1); // Page name
// Show unit
getdisplay().setFont(&Ubuntu_Bold20pt7b);
getdisplay().setFont(&Ubuntu_Bold20pt8b);
getdisplay().setCursor(270, 100);
if(holdvalues == false){
getdisplay().print(unit1); // Unit
@@ -78,7 +78,7 @@ class PageOneValue : public Page
// Switch font if format for any values
if(bvalue1->getFormat() == "formatLatitude" || bvalue1->getFormat() == "formatLongitude"){
getdisplay().setFont(&Ubuntu_Bold20pt7b);
getdisplay().setFont(&Ubuntu_Bold20pt8b);
getdisplay().setCursor(20, 180);
}
else if(bvalue1->getFormat() == "formatTime" || bvalue1->getFormat() == "formatDate"){