stm32h7 and PC simulator
I want to make tabs in a tabview scroll horizontally instead of vertically when tab buttons are on the left. Because I will be adding more widgets in a single tab and scrolling down to view them. Scrolling vertically between tabs might be awkward in this case.
According to this commit, the default behavior has changed in the master branch when you have tab buttons on the left or right. This resulted in different behavior between the PC simulator and my embedded device. Is there a way to set tabview to scroll horizontally?
I tried setting
scroll_dir of the tabview to
LV_DIR_HOR, but it doesn’t work.
lv_obj_t *tabview; tabview = lv_tabview_create(root, LV_DIR_LEFT, 120); tabview->spec_attr->scroll_dir = LV_DIR_HOR;