My friend
When creating a table and setting a cell too wide, the content displayed inside will be aligned to the left. Can it be centered.
thanks
My friend
When creating a table and setting a cell too wide, the content displayed inside will be aligned to the left. Can it be centered.
thanks
Yes.
Set the text align style property of your table item, to LV_TEXT_ALIGN_CENTER
. Like so:
lv_obj_set_style_text_align(table, LV_TEXT_ALIGN_CENTER, LV_PART_ITEMS);
Okay, thank you