SizeToContent on windows