edit rectangle size