Browse Source

Space out multiple edit lines a bit

Scott Lahteine 5 years ago
parent
commit
01b5c810d5
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/lcd/dogm/ultralcd_DOGM.cpp

+ 2
- 2
Marlin/src/lcd/dogm/ultralcd_DOGM.cpp View File

@@ -362,7 +362,7 @@ void MarlinUI::clear_lcd() { } // Automatically cleared by Picture Loop
362 362
     #endif
363 363
 
364 364
     // Center the label and value lines on the middle line
365
-    uint8_t baseline = extra_row ? (LCD_PIXEL_HEIGHT) / 2
365
+    uint8_t baseline = extra_row ? (LCD_PIXEL_HEIGHT) / 2 - 1
366 366
                                  : (LCD_PIXEL_HEIGHT + EDIT_FONT_ASCENT) / 2;
367 367
 
368 368
     // Assume the label is alpha-numeric (with a descender)
@@ -377,7 +377,7 @@ void MarlinUI::clear_lcd() { } // Automatically cleared by Picture Loop
377 377
       lcd_put_wchar(':');
378 378
       if (extra_row) {
379 379
         // Assume the value is numeric (with no descender)
380
-        baseline += EDIT_FONT_ASCENT;
380
+        baseline += EDIT_FONT_ASCENT + 2;
381 381
         onpage = PAGE_CONTAINS(baseline - (EDIT_FONT_ASCENT - 1), baseline);
382 382
       }
383 383
       if (onpage) {

Loading…
Cancel
Save