Button Alignment

To align a button in the center of an a vertical container using google web toolkit:

Button selectOther = new Button("My Button");

favListing.setCellHorizontalAlignment(selectOther, HasHorizontalAlignment.ALIGN_CENTER);

No comments:

Post a Comment