GUI Help > General > doGadgetAlign
doGadgetAlign
doGadgetAlign handle gadget
Description: Re-aligns a gadget relative to its parent, depending on the gadget's alignment setting (set with setGadgetAlign). The gadget will be resized and repositioned to fit in the top/bottom/left/right/all of the parent gadget's main area. The plugin will do this for you most of the time as necessary. On ocassion though, it may be necessary to do this manually.
Return Value:
Parameters:
gadget | Handle to a gadget
Remarks:
See Also:
Example: (Note: You will need to include the GUI constants file for this example to work)