I love the tabview. But when I have the tabview with the buttons on the left side. the button text is vertical by define and I understand. But I would like the text to print horizontally. Because I have space on the screen and it also makes the buttons larger and easier to press.
Make I suggest a simple solution to add to the code to tabview
static void refr_btns_size(lv_obj_t * tabview) routine.
Add a #define that can be over written by the developer when compiling.
#define TABVIEW_SIDE_BUTTON_WIDTH 4
this would eliminate the requirement of having this #define defined to compile
#define TABVIEW_SIDE_BUTTON_WIDTH * 4
// mikes hack to get the button wider
btns_w = (lv_font_get_glyph_width(font, ‘A’, ‘\0’) * TABVIEW_SIDE_BUTTON_WIDTH ) + tab_left + tab_right + tab_bg_left + tab_bg_right;
btns_h = lv_obj_get_height(tabview);
I have try this and it is working for me. It would be nice if it were added to the code base.