Skip to content

Commit 175382e

Browse files
committed
feat: Optimize screen space usage in addresses viewer
1 parent 7d7358c commit 175382e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

main/pages/home/addresses.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ void addresses_page_create(lv_obj_t *parent, void (*return_cb)(void)) {
421421
lv_obj_set_flex_flow(addresses_screen, LV_FLEX_FLOW_COLUMN);
422422
lv_obj_set_flex_align(addresses_screen, LV_FLEX_ALIGN_START,
423423
LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_CENTER);
424-
lv_obj_set_style_pad_gap(addresses_screen, theme_default_padding(), 0);
424+
lv_obj_set_style_pad_gap(addresses_screen, theme_small_padding(), 0);
425425

426426
// Key info bar at top, aligned with the corner buttons. With no loaded key
427427
// (watch-only) it self-omits; reserve the same corner-button band with a
@@ -478,6 +478,8 @@ void addresses_page_create(lv_obj_t *parent, void (*return_cb)(void)) {
478478
lv_obj_set_flex_align(address_list_container, LV_FLEX_ALIGN_START,
479479
LV_FLEX_ALIGN_SPACE_EVENLY, LV_FLEX_ALIGN_CENTER);
480480
lv_obj_set_flex_grow(address_list_container, 1);
481+
lv_obj_set_style_pad_row(address_list_container, theme_small_padding() / 2,
482+
0);
481483

482484
refresh_address_list();
483485

0 commit comments

Comments
 (0)