horizontal alignment can be achieved by placing the grid and form in a container with 'hbox' layout. Read about 'hbox' and 'vbox' layouts. this will help you. Also, regions are supposed to be used with 'border' layout.