Set childPackDirection property.
The child pack direction of the menubar. It determines how the widgets contained in child menuitems are arranged.
Set childPackDirection property.