Click on any component (labels, buttons, text area) to see its layout code.
A complete source code overview is available as well.
cts.attachToComponent(TOP, FIXED, 5, label_1, BOTTOM);
// Make sure the label stays above the Yes, No and Maybe buttons
cts.attachToComponent(BOTTOM, ELASTIC, 10, button_yes, TOP);
//Title and Labels 1 to 3 are added to column_1 which is defined as follows:
// cts.attachToBorder(LEFT, FIXED, 5);
// cts.attachToBorder(RIGHT, ELASTIC, 120);
// attachLayout.defineColumn("column_1", cts);
cts.addToColumn("column_1", FIXED, 0, ELASTIC, 0);