set to designer resolution size when frame size changed