add minWidth support
add minWidth support