Horizontal/Vertical layout : Avoids infinite sized views by limiting the preferred size to the parent size instead of MAXFLOAT.