pub unsafe extern "C" fn lv_obj_set_style_width(
obj: *mut lv_obj_t,
value: i32,
selector: lv_style_selector_t,
)Expand description
Sets width of Widget. Pixel, percentage and LV_SIZE_CONTENT values can be used.
Percentage values are relative to the width of the parent’s content area.
Default: Widget dependent, inherited: No, layout: Yes, ext. draw: No.
@param obj Pointer to Widget
@param value Value to submit
@param selector A joint type for lv_part_t and lv_state_t. Example values:
- 0: means LV_PART_MAIN | LV_STATE_DEFAULT
- LV_STATE_PRESSED
- LV_PART_KNOB
- LV_PART_KNOB | LV_STATE_PRESSED | LV_STATE_CHECKED