[][src]Function lvgl::widgets::roller::get_align

pub fn get_align(roller: *const lv_obj_t) -> MynewtResult<lv_label_align_t>

Get the align attribute. Default alignment after _create is LV_LABEL_ALIGN_CENTER

  • roller: pointer to a roller object Return: LV_LABEL_ALIGN_LEFT, LV_LABEL_ALIGN_RIGHT or LV_LABEL_ALIGN_CENTER