Description
I try to use a tile view within a tab view. When I add a tile view the content of the tile is padded. Parts to the top, bottom and left and right are cut off.
How can I remove the padding? Setting the pad_top, pad_bottom does not seem to work.
First a tabview is created with different tabs. The width of the tab is the screen width, the hight a portion of the screen hight.
The tile view is a child of the tab created by o_tab lv_tabview_add_tab()
What MCU/Processor/Board and compiler are you using?
Raspberry pi
What LVGL version are you using?
8.3
What do you want to achieve?
Remove padding in a tile view
What have you tried so far?
Create style with no border
Set top, bottom, left right padding to 0
Code to reproduce
o_tab = lv_tabview_add_tab(tab, "setup");
tileview = lv_tileview_create(o_tab);
//lv_obj_add_style(tileview, &style_tile, 0);
lv_obj_set_style_pad_top(tileview, 0, LV_PART_MAIN);
lv_obj_set_style_pad_bottom(tileview, 0, LV_PART_MAIN);