lv_btnm: fix row positions

This commit is contained in:
Gabor Kiss-Vamosi
2019-09-27 09:10:26 +02:00
parent 4479a22696
commit 3aac71b16e

View File

@@ -241,7 +241,7 @@ void lv_btnm_set_map(const lv_obj_t * btnm, const char * map[])
btn_i++;
}
}
act_y += btn_h + style_bg->body.padding.inner;
act_y += btn_h + style_bg->body.padding.inner + 1;
if(strlen(map_p_tmp[btn_cnt]) == 0) break; /*Break on end of map*/
map_p_tmp = &map_p_tmp[btn_cnt + 1]; /*Set the map to the next line*/