Yes, I have got this idea of dragging with mouse. But I want to set precise value of width or height, I think something I need is an option for fixed ratio, then if I change one, the other will change accordingly with the original width height ratio.