fix(flex grid): added padding between rows as well

This commit is contained in:
Raphael Coeffic
2022-06-11 15:13:11 +02:00
committed by Raphael Coeffic
parent fd3deb2571
commit 1acea8fc88
+1
View File
@@ -46,6 +46,7 @@ class FlexGridLayout
// padding
lv_obj_set_style_pad_all(obj, padding, LV_PART_MAIN);
lv_obj_set_style_pad_left(obj, padding + PAGE_PADDING, LV_PART_MAIN);
lv_obj_set_style_pad_row(obj, padding, LV_PART_MAIN);
// layout
lv_obj_set_layout(obj, LV_LAYOUT_GRID);