1obj1 = lv.obj(lv.scr_act()) 2obj1.set_size(100, 50) 3obj1.align(lv.ALIGN.CENTER, -60, -30) 4 5style_shadow = lv.style_t() 6style_shadow.init() 7style_shadow.set_shadow_width(10) 8style_shadow.set_shadow_spread(5) 9style_shadow.set_shadow_color(lv.palette_main(lv.PALETTE.BLUE)) 10 11obj2 = lv.obj(lv.scr_act()) 12obj2.add_style(style_shadow, 0) 13obj2.align(lv.ALIGN.CENTER, 60, 30) 14 15