1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-02 19:40:57 +00:00

chore(core/rust): decrease top margin over homescreen label in T2B1

[no changelog]
This commit is contained in:
grdddj 2023-09-12 10:22:58 +02:00 committed by Jiří Musil
parent e6e0c50836
commit 70fa46a318

View File

@ -102,7 +102,7 @@ where
let mut outset = Insets::uniform(LABEL_OUTSET); let mut outset = Insets::uniform(LABEL_OUTSET);
// the margin at top is bigger (caused by text-height vs line-height?) // the margin at top is bigger (caused by text-height vs line-height?)
// compensate by shrinking the outset // compensate by shrinking the outset
outset.top -= 1; outset.top -= 2;
rect_fill(self.label.text_area().outset(outset), theme::BG); rect_fill(self.label.text_area().outset(outset), theme::BG);
self.label.paint(); self.label.paint();
} }