The default label location for controls on a dialog is positioned to the left of the control. Being that horizontal space is at a premium, many developers prefer to have the label on top of the control. I could not find any reference to this in documentation, so I looked at the source and found that Magnolia looks for a data node type of "boxType". the default boxType is 2Col, which means the label is on the left and the control on the right. A boxType of 1Col puts the label on top of the control. AFAIK you cannot control the formating in any other way.
To edit your dialog:
- Choose a contentNode that has a control on it (edit, or fckEdit, etc) and a label.
- Right click the contentNode and choose New node data.
- Rename the data node "boxType"
- Give it a value of "1Col"
Note you need to do this for each control on the page.
In its previous incarnation on JspWiki, this page was last edited on Feb 9, 2007 10:11:11 AM by TerryJeske
Other known authors include :