PDA

View Full Version : Centering a form



chriskumar
22 Jun 2009, 4:14 PM
How to centre a form with EXT GWT, if i have a form panel with text fields, i add it to the root panel

daddieke
22 Jun 2009, 11:12 PM
CenterLayout may be what you need.

chriskumar
23 Jun 2009, 2:58 AM
Centre Layout does that but it makes it horizontally centered, i want both way centering that is vertiacally as well as horizontally

Thanks,
Chris

daddieke
23 Jun 2009, 7:56 AM
Chris,

Did you try it ? It's been a while since I've used CenterLayout but I think it also centers vertically. The demo certainly does.

Wouter