From 70fa46a31836b6b7f8866a25b4bb4c1ba0e28ce4 Mon Sep 17 00:00:00 2001 From: grdddj Date: Tue, 12 Sep 2023 10:22:58 +0200 Subject: [PATCH] chore(core/rust): decrease top margin over homescreen label in T2B1 [no changelog] --- core/embed/rust/src/ui/model_tr/component/homescreen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/embed/rust/src/ui/model_tr/component/homescreen.rs b/core/embed/rust/src/ui/model_tr/component/homescreen.rs index f941d4ffae..61ca4c9692 100644 --- a/core/embed/rust/src/ui/model_tr/component/homescreen.rs +++ b/core/embed/rust/src/ui/model_tr/component/homescreen.rs @@ -102,7 +102,7 @@ where let mut outset = Insets::uniform(LABEL_OUTSET); // the margin at top is bigger (caused by text-height vs line-height?) // compensate by shrinking the outset - outset.top -= 1; + outset.top -= 2; rect_fill(self.label.text_area().outset(outset), theme::BG); self.label.paint(); }