widget shape rect and shape polygon continued