If you know HTML, this should all work roughly how you would expect. If you are not familiar with HTML, please read Tables in HTML Documents. Pay attention to TABLE, TR, TD related parts of the document.
Table()
t = gui.Table() t.tr() t.td(gui.Label("First Name"), align=-1) t.td(gui.Input()) t.tr() t.td(gui.Label("Last Name"), align=-1) t.td(gui.Input())
Table.td(w,col=None,row=None,colspan=1,rowspan=1,**params)
widget
column
row
colspan
rowspan
horizontal alignment (-1,0,1)
vertical alignment (-1,0,1)
other params for the TD container, style information, etc
Table.add(w,col=None,row=None,colspan=1,rowspan=1)
See Table.td for an explanation of the parameters.