BoxLayout: Add orientation property.

And fix a typo.