LVGL8.3 Obtain OBJ coordinates and width during the creation process

I create multiple OBJs on the page, and when one OBJ is created, I obtain coordinates and a width of 0

for(i = 0;i < 6;i++)
    {
        test_obj[i] = lv_obj_create(panel_480);
        lv_obj_set_size(test_obj[i],test_data[i].wight,test_data[i].hight);
        lv_obj_set_pos(test_obj[i],obj_x,obj_y);
        lv_obj_clear_flag(test_obj[i],LV_OBJ_FLAG_SCROLLABLE);
        lv_obj_add_flag(test_obj[i],LV_OBJ_FLAG_SCROLL_CHAIN_VER);
        lv_obj_set_style_bg_color(test_obj[i], lv_color_hex(0x535353), LV_PART_MAIN | LV_STATE_DEFAULT );
        lv_obj_set_style_bg_opa(test_obj[i], 255, LV_PART_MAIN| LV_STATE_DEFAULT);
        lv_obj_set_style_border_width(test_obj[i], 0, LV_PART_MAIN| LV_STATE_DEFAULT);
        lv_obj_set_style_radius(test_obj[i], 10, LV_PART_MAIN| LV_STATE_DEFAULT);

 printf("lv_obj_get_x = %d  lv_obj_get_width = %d\r\n)",lv_obj_get_x(test_obj[i]),lv_obj_get_width(test_obj[i]));
}