Cleaning the code
This commit is contained in:
@@ -57,8 +57,8 @@ static lv_obj_t * notice_h;
|
||||
void lv_app_notice_init(void)
|
||||
{
|
||||
notice_h = lv_cont_create(lv_scr_act(), NULL);
|
||||
lv_obj_set_size(notice_h, LV_HOR_RES, LV_VER_RES - LV_DPI);
|
||||
lv_obj_set_y(notice_h, LV_DPI);
|
||||
lv_obj_set_size(notice_h, LV_HOR_RES, LV_VER_RES - LV_DPI / 8);
|
||||
lv_obj_set_y(notice_h, LV_DPI / 8);
|
||||
lv_obj_set_click(notice_h, false);
|
||||
lv_obj_set_style(notice_h, lv_style_get(LV_STYLE_TRANSP, NULL));
|
||||
lv_cont_set_layout(notice_h, LV_CONT_LAYOUT_COL_R);
|
||||
|
||||
Reference in New Issue
Block a user