Skip to content

Commit b457f45

Browse files
Fix both rounded buttons issue in Apex case
1 parent 3e9eb8a commit b457f45

File tree

2 files changed

+2427
-2424
lines changed

2 files changed

+2427
-2424
lines changed

lib_nbgl/include/nbgl_layout.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ extern "C" {
4848
#define LONG_PRESS_BUTTON_HEIGHT 128
4949
#define UP_FOOTER_BUTTON_HEIGHT 120
5050
#define ACTION_AND_FOOTER_FOOTER_HEIGHT 216
51+
#define BOTH_ROUNDED_FOOTER_HEIGHT 216
5152

5253
#define LIST_ITEM_MIN_TEXT_HEIGHT 40
5354
#define LIST_ITEM_PRE_HEADING 28
@@ -76,6 +77,7 @@ extern "C" {
7677
#define LONG_PRESS_BUTTON_HEIGHT 152
7778
#define UP_FOOTER_BUTTON_HEIGHT 136
7879
#define ACTION_AND_FOOTER_FOOTER_HEIGHT 232
80+
#define BOTH_ROUNDED_FOOTER_HEIGHT 232
7981

8082
#define LIST_ITEM_MIN_TEXT_HEIGHT SMALL_ICON_SIZE
8183
#define LIST_ITEM_PRE_HEADING 26
@@ -104,6 +106,7 @@ extern "C" {
104106
#define LONG_PRESS_BUTTON_HEIGHT 88
105107
#define UP_FOOTER_BUTTON_HEIGHT 88
106108
#define ACTION_AND_FOOTER_FOOTER_HEIGHT 128
109+
#define BOTH_ROUNDED_FOOTER_HEIGHT 148
107110

108111
#define LIST_ITEM_MIN_TEXT_HEIGHT SMALL_ICON_SIZE
109112
#define LIST_ITEM_PRE_HEADING 22

0 commit comments

Comments
 (0)