GWT‎ > ‎

Styling

Align a component to the center of its parent panel.

panel.setStyleName("style")
This will allow manipulation of the style class in the corresponding CSS file

.style {
    margin-left: auto;
    margin-right: auto;
}

Comments