MenuStyle.setItemsHAlign Indicate the horizontal alignment of items / Buttons in the Bar.
Demo
file: styleBackground.js
See the source code
BarStyle.setItemsHAlign(alignString)
alignString
The string indicating where the alignment of Buttons: 'CENTER' (default), 'LEFT' or 'RIGHT'