HorizontalLayout: can use percentHeight no matter the value of useVirtualLayout. VerticalLayout: can use percentWidth no matter the value of useVirtualLayout. (references #445)