Fix PIN spacing and keep message navigation hints visible
Use measured text rows for companion and repeater layouts, retain the V4 6px footer, and add overlap and navigation regressions. Correct the MQTT logging sleep documentation contract test.
This commit is contained in:
1 parent
f778d14c76
commit
27ff4b9063
16 files changed
+343
-102
No files matched your search
@@ -605,6 +605,7 @@ void ST7735Display::startFrame(ColorVal bkg) {
|
||||
sprite->setTextColor(curr_color = UIColor::primary_txt);
|
||||
sprite->setFreeFont();
|
||||
sprite->setTextSize(1); // This one affects size of Please wait... message
|
||||
sprite->setTextWrap(false);
|
||||
//sprite->cp437(true); // Use full 256 char 'Code Page 437' font
|
||||
}
|
||||
|
||||
@@ -613,6 +614,10 @@ void ST7735Display::setTextSize(int sz) {
|
||||
sprite->setTextSize(sz);
|
||||
}
|
||||
|
||||
int ST7735Display::textLineHeight() {
|
||||
return spriteReady() ? sprite->fontHeight() : 8;
|
||||
}
|
||||
|
||||
void ST7735Display::setColor(ColorVal c) {
|
||||
if (!spriteReady()) return;
|
||||
curr_color = c;
|
||||
|
||||
Reference in new issue
Block a user