Change Tap size

Description

When i made the tap view with 3 taps only.
They were aligned evenly as shown here


But when I add a fourth tap,
It’s not aligned anymore.

What can I do?

Reduce the left padding on the tabview; I think there isn’t enough space to properly align the tabs.

This is the default from lv_demo_widgets, maybe make it 1/4 of the screen width instead of 1/2:

lv_obj_set_style_local_pad_left(tv, LV_TABVIEW_PART_TAB_BG, LV_STATE_DEFAULT, LV_HOR_RES / 2);
1 Like

Many Many Thanks <3