style(editor): drop the mode line to the panel's bottom edge

Move the mode indicator (and the NO KBD flag above it) down so the
mode sits flush at the bottom-left with a 2 px margin, reclaiming the
dead space that was left below it.
This commit is contained in:
Julien Calixte
2026-07-08 22:01:10 +02:00
parent ad047cc717
commit f197df6dbe

View File

@@ -946,7 +946,7 @@ impl Editor {
if !self.keyboard_present {
Text::with_baseline(
"NO KBD",
Point::new(PANEL_X, epd::HEIGHT as i32 - 34),
Point::new(PANEL_X, epd::HEIGHT as i32 - 24),
style,
Baseline::Top,
)
@@ -983,7 +983,7 @@ impl Editor {
}
Text::with_baseline(
&s,
Point::new(PANEL_X, epd::HEIGHT as i32 - 22),
Point::new(PANEL_X, epd::HEIGHT as i32 - 12),
style,
Baseline::Top,
)