GCP-6599 instead of percentage, compute height and width given parent window's height and width