put horizontal this widget in the parent of real percentage
ratio the percentage of the parent
widthParent size of parent just put width it
widthChild size of child just put width it
put vertical this widget in the parent of real percentage
ratio the percentage of the parent
heightParent size of parent just put height it
heightChild size of child just put height it