View Full Version : [CLOSED] ToolBar's button align does not work

4 Sep 2008, 8:53 AM
I am trying to set a ToolBar component into a content panel's bottom component, and I am setting the toolbar.setButtonAlign(HorizontalAlignment.RIGHT) but it appears the default alignment (LEFT) is always used.

Please fix!


9 Sep 2008, 7:42 AM
setButtonAlign and getButtonAlign have now been deprecated in ToolBar as they were not implemented and do not really make sense for tool bar. If you want to right align your tool bar you can add a FillToolItem as the first child item.