some fixes and firmware stabilization
This commit is contained in:
@@ -67,7 +67,7 @@ void weather_setup_tile_setup( uint32_t tile_num ) {
|
||||
lv_imgbtn_set_src( exit_btn, LV_BTN_STATE_CHECKED_RELEASED, &exit_32px);
|
||||
lv_imgbtn_set_src( exit_btn, LV_BTN_STATE_CHECKED_PRESSED, &exit_32px);
|
||||
lv_obj_add_style( exit_btn, LV_IMGBTN_PART_MAIN, &weather_setup_style );
|
||||
lv_obj_align( exit_btn, weather_setup_tile, LV_ALIGN_IN_TOP_LEFT, 10, STATUSBAR_HEIGHT + 10 );
|
||||
lv_obj_align( exit_btn, weather_setup_tile, LV_ALIGN_IN_TOP_LEFT, 10, 10 );
|
||||
lv_obj_set_event_cb( exit_btn, exit_weather_widget_setup_event_cb );
|
||||
|
||||
lv_obj_t *exit_label = lv_label_create( weather_setup_tile, NULL);
|
||||
@@ -78,7 +78,7 @@ void weather_setup_tile_setup( uint32_t tile_num ) {
|
||||
lv_obj_t *weather_apikey_cont = lv_obj_create( weather_setup_tile, NULL );
|
||||
lv_obj_set_size(weather_apikey_cont, LV_HOR_RES_MAX , 40);
|
||||
lv_obj_add_style( weather_apikey_cont, LV_OBJ_PART_MAIN, &weather_setup_style );
|
||||
lv_obj_align( weather_apikey_cont, weather_setup_tile, LV_ALIGN_IN_TOP_RIGHT, 0, 75 );
|
||||
lv_obj_align( weather_apikey_cont, weather_setup_tile, LV_ALIGN_IN_TOP_MID, 0, 49 );
|
||||
lv_obj_t *weather_apikey_label = lv_label_create( weather_apikey_cont, NULL);
|
||||
lv_obj_add_style( weather_apikey_label, LV_OBJ_PART_MAIN, &weather_setup_style );
|
||||
lv_label_set_text( weather_apikey_label, "appid");
|
||||
|
||||
Reference in New Issue
Block a user