add set virtual size and set default virtual size function in
RatioActivity