lv_clamp_width() function
Clamp a width between min and max width. If the min/max width is in percentage value use the ref_width
Arguments
min_width
the minimal width
max_width
the maximal width
ref_width
the reference width used when min/max width is in percentage
Return value
the clamped width