add size and frame property