Most gadgets have an ANCHOR attribute and a few support the DOCK attribute. These allow you to define intelligent position and resize behaviour when the gadget's container resizes, which allows you to have more than one resizable gadget on the same form.
The ANCHOR and DOCK attributes are mutually exclusive. Setting the DOCK attribute resets the ANCHOR to the default; setting the ANCHOR attribute resets DOCK to none.
VIEW and ALPHA gadgets should always be placed in their own frame, with no other gadgets. Use the frame's DOCK or ANCHOR attributes to get the behaviour wanted.