### 2.5.4 Options for Arranging Children Widgets

The following options are used by the geometry manager to determine the geometry of children widgets.

- EZ_IPADX This option sets the internal horizontal spacing between children widgets, if applicable. The default value is `0`.

- EZ_IPADY This option sets the internal vertical spacing between children widgets, if applicable. The default value is `0`.

- EZ_ORIENTATION This option sets the orientation of a widget. Orientation is used to place children widgets. Valid values are:

  - `EZ_HORIZONTAL` Place children widgets horizontally, evenly spaced. Increase internal horizontal padding if necessary.

  - `EZ_HORIZONTAL_LEFT` Place children widgets horizontally, starting at the left boundry. If the horizontal dimension of a widget is larger than the minimal size needed for placing children widgets, the extra space is padded at the right side.

  - `EZ_HORIZONTAL_RIGHT` Place children widgets horizontally, ending exactly at the right boundry. If the horizontal dimension of a widget is larger than the minimal size needed for placing children widgets, the extra space is padded at the left side.

  - `EZ_HORIZONTAL_CENTER` Place children widgets horizontally. Do not alter the internal horizontal padding. If the horizontal dimension of a widget is larger than the minimal size needed for placing children widgets, the extra space is distributed to the horizontal padding.

  - `EZ_VERTICAL` Place children widgets vertically, spaced evenly. Increase the internal vertical padding if necessary.

  - `EZ_VERTICAL_TOP` Place children widgets vertically, starting at the top boundry. If the vertical dimension of a widget is larger than the minimal size needed for placing children widgets, the extra space is padded at the bottom.

  - `EZ_VERTICAL_BOTTOM` Place children widgets vertically, ending exactly at the bottom boundry. If the vertical dimension of a widget is larger than the minimal size needed for placing children widgets, the extra space is padded at the top.

  - `EZ_VERTICAL_CENTER` Place children widgets vertically. Do not alter the internal vertical padding. If the vertical dimension of a widget is larger than the minimal size needed for placing children widgets, the extra space is distributed to the vertical padding.

- EZ_SIDE This option specifies the way children widgets be aligned. Valid values are:

  - `EZ_TOP` If widget has a horizontal orientation, align children widgets along the top edge of widget. It has no effects if widget has a vertical orientation.

  - `EZ_BOTTOM` If widget has a horizontal orientation, align children widgets along the bottom edge of widget. It has no effects if widget has a vertical orientation.

  - `EZ_LEFT` If widget has a vertical orientation, align children widgets along the left edge of widget. It has no effects if widget has a horizontal orientation.

  - `EZ_RIGHT` If widget has a vertical orientation, align children widgets along the right edge of widget. It has no effects if widget has a horizontal orientation.

  - `EZ_CENTER` Align children widgets along the center line of widget. This is the default.

- EZ_FILL_MODE This option specifies whether children widgets should be stretched to fill up the widget. Valid values are:

  - `EZ_FILL_NONE` No streching. This is the default.

  - `EZ_FILL_HORIZONTALLY` Stretch children widgets in the horizontal direction only.

  - `EZ_FILL_VERTICALLY` Stretch children widgets in the vertical direction only.

  - `EZ_FILL_BOTH` Stretch children widgets in both the horizontal and the vertical directions.

HTML Documentation Maintainance:`Arturo Espinosa <arturo@nuclecu.unam.mx>`