Showing posts with label right. Show all posts
Showing posts with label right. Show all posts

Wednesday, 3 August 2011

smartgwt - align buttons to right using HLayout

I was wondering why the buttons were not aligned to right when I did myHLayout.setAlign(Alignment.RIGHT).

The usage is incorrect, try myHLayout.setLayoutAlign(Alignment.RIGHT) instead.