We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72296de commit 80bb5a7Copy full SHA for 80bb5a7
main/ui/confirm_address.c
@@ -6,15 +6,16 @@
6
#define ADDRESS_STRING_GRID (CONFIG_DISPLAY_WIDTH >= 320)
7
8
// Max amount of address we can show on a single screen
9
-#define MAX_DISPLAY_ADDRESS_LEN (ADDRESS_STRING_GRID ? 100 : 96)
+#define MAX_DISPLAY_ADDRESS_LEN 96
10
#define MAX_ADDRESS_SCREENS 2
11
12
#if ADDRESS_STRING_GRID
13
-
+// Target 4 characters per cell
14
#define ADDR_GRID_FONT GUI_DEFAULT_FONT
15
-#define ADDR_GRID_TOPPAD 12
16
-#define ADDR_GRID_X 5
17
-#define ADDR_GRID_Y 5
+#define ADDR_GRID_TOPPAD 4
+#define ADDR_GRID_X 4
+#define ADDR_GRID_Y 6
18
+
19
#define ADDR_GRID_SIZE (ADDR_GRID_X * ADDR_GRID_Y)
20
#define ADDR_TEXTSPLITLEN (MAX_DISPLAY_ADDRESS_LEN / ADDR_GRID_SIZE)
21
0 commit comments