How insert gap between menu sections

    lv_obj_t * sub_mechanics_page = lv_menu_page_create(menu, NULL);
    lv_obj_set_style_pad_hor(sub_mechanics_page, 10, 0);
    lv_menu_separator_create(sub_mechanics_page);
    lv_obj_t *header = lv_menu_section_create(sub_mechanics_page);
    create_text(header, LV_SYMBOL_SETTINGS, "Number of Hooks");
    lv_obj_t *section = lv_menu_section_create(sub_mechanics_page);
    create_dropdown(section, LV_SYMBOL_SETTINGS, "Hooks per Unit (Bits)", "8\n12\n16\n20\n24");
    create_dropdown(section, LV_SYMBOL_SETTINGS, "Cards per Ribbon","8\n12\n16");
    create_dropdown(section, LV_SYMBOL_SETTINGS, "Extension Boards","2\n3\n4\n5\n6\n7\n8");

How to add space between header and section

You can use the lv_obj_set_style_pad_row(sub_mechanics_page, 10, 0);.

lv_obj_set_style_pad_row(sub_mechanics_page, 10, 0); is working, but header top spacing also increases. Is it possible to adjust header top spacing?

Could you send a small code snippet to demonstrate the issue?
In the original snippet from the first comment create_text is a custom function.