lv_clamp_height() function
Clamp a height between min and max height. If the min/max height is in percentage value use the ref_height
Arguments
min_height
the minimal height
max_height
the maximal height
ref_height
the reference height used when min/max height is in percentage
Return value
the clamped height