tags:

views:

322

answers:

1

Hi there!

I'm new in smartGWT and I'm getting problems designing my client. I'd like to know if there is a way to center a form.

I have a TabSet in my page. I would like to make the first tab ("Welcome") similar to Google search engine, with the search box centered in the pane. The setAlign(Alignment.CENTER) method doesn't for this type of object.

I get to have this at this point : link text

Thanks you for helping me.

+1  A: 

Resolved! This can be done with this method :

form.setLayoutAlign(VerticalAlignment.CENTER);
Romain