mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
ci: add missing demo test
This commit is contained in:
parent
8470365db2
commit
b11eb4044c
@ -54,13 +54,14 @@ static void tab_layout_create(lv_obj_t * tab, view_t * ui);
|
||||
|
||||
void view_ctrl_pad_create(lv_obj_t * par, view_t * ui)
|
||||
{
|
||||
lv_obj_t * tv = lv_tabview_create(par, LV_DIR_TOP, 50);
|
||||
lv_obj_t * tv = lv_tabview_create(par);
|
||||
lv_tabview_set_tab_bar_size(tv, 50);
|
||||
lv_obj_set_width(tv, lv_pct(100));
|
||||
lv_obj_set_flex_grow(tv, 1);
|
||||
lv_obj_set_style_radius(tv, 0, 0);
|
||||
lv_obj_set_style_bg_color(tv, lv_color_hex(0xffffff), 0);
|
||||
|
||||
lv_obj_t * buttons = lv_tabview_get_tab_buttons(tv);
|
||||
lv_obj_t * buttons = lv_tabview_get_tab_bar(tv);
|
||||
lv_obj_set_style_outline_width(buttons, 0, LV_PART_ITEMS | LV_STATE_FOCUS_KEY);
|
||||
lv_obj_set_style_outline_width(buttons, 0, LV_STATE_FOCUS_KEY);
|
||||
lv_obj_set_style_bg_color(buttons, lv_color_white(), LV_PART_ITEMS | LV_STATE_CHECKED);
|
||||
|
@ -83,6 +83,7 @@
|
||||
#define LV_BUILD_EXAMPLES 1
|
||||
#define LV_USE_DEMO_WIDGETS 1
|
||||
#define LV_USE_DEMO_KEYPAD_AND_ENCODER 1
|
||||
#define LV_USE_DEMO_FLEX_LAYOUT 1
|
||||
#define LV_USE_DEMO_STRESS 1
|
||||
#define LV_USE_DEMO_TRANSFORM 1
|
||||
#define LV_USE_DEMO_MULTILANG 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user