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

pub fn set_align(
    roller: *mut lv_obj_t,
    align: lv_label_align_t
) -> MynewtResult<()>

Set the align of the roller's options (left, right or center[default])

  • roller: - pointer to a roller object
  • align: - one of lv_label_align_t values (left, right, center)