Layout Managers

The layout managers are widget behavior functions for handling where widgets move. Layout managers can be called from a widget function or attached to a widget later.


XPUFixedLayout

function

This function causes the widget to maintain its children in fixed position relative to itself as it is resized. Use this on the top level 'window' widget for your window.

XPLM_API int        XPUFixedLayout(
                         XPWidgetMessage      inMessage,
                         XPWidgetID           inWidget,
                         intptr_t             inParam1,
                         intptr_t             inParam2
                    );