OWLNext 7.0
Borland's Object Windows Library for the modern age
|
You can specify whether you want the gadget window to shrink wrap a gadget using the TGadgetWindow::SetShrinkWrap function.
Shrink wrapping for a gadget window has a slightly different meaning than for a gadget. When a gadget window is shrink wrapped for an axis, the axis' size is calculated automatically based on the desired sizes of the gadgets laid out on that axis.
You can turn shrink wrapping on and off independently for the width and height of the gadget window.
The syntax of the SetShrinkWrap function is