fix the resize problem of the widgets

solve issue #7