fix(bidi) fix tabview, textarea, label, btnmatrix, roller, dropdown with RTL base direction

This commit is contained in:
Gabor Kiss-Vamosi
2021-05-20 12:04:06 +02:00
parent a63ab1eef1
commit 1386edf2fb
15 changed files with 68 additions and 17 deletions

View File

@@ -3,6 +3,7 @@
void lv_example_tabview_1(void)
{
lv_obj_set_style_base_dir(lv_scr_act(), LV_BASE_DIR_RTL, 0);
/*Create a Tab view object*/
lv_obj_t *tabview;
tabview = lv_tabview_create(lv_scr_act(), LV_DIR_TOP, 50);
@@ -36,7 +37,7 @@ void lv_example_tabview_1(void)
label = lv_label_create(tab3);
lv_label_set_text(label, "Third tab");
lv_obj_scroll_to_view_recursive(label, LV_ANIM_ON);
// lv_obj_scroll_to_view_recursive(label, LV_ANIM_ON);
}
#endif