### 2.5.2 Options for Configuring Border and Padding

There are six different border types for EZ widgets. They are controled by two attributes, a border type and a border width.

Paddings are used to determine the region inside the widget window for drawing label or placing children widgets. There are two of them, a horizontal padding and a vertical padding.

- EZ_BORDER_TYPE This option sets the border type of a widget. Valid values are:

  - `EZ_BORDER_NONE`

  - `EZ_BORDER_FLAT`

  - `EZ_BORDER_GROOVE`

  - `EZ_BORDER_RIDGE`

  - `EZ_BORDER_RAISED`

  - `EZ_BORDER_SUNKEN`

  The default value for this attribute depends on the widget type. For frame, label, checkbutton, radiobutton, slider and 3DCanvas, the default value is `EZ_BORDER_NONE`. For normal button, the default value is `EZ_BORDER_UP`.

- EZ_BORDER_WIDTH This option sets the border width of a widget, in pixels. The default value depends on the widget type. For button type widgets, the default value is 2 pixels. For frame, label, sliders and 3DCanvas, the default value is 0.

- EZ_PADX This option sets the horizontal padding, in pixels, between the widget border and the widget label or children widgets. The default value is 8 pixels.

- EZ_PADY This option sets the vertical padding, in pixels, between the widget border and the widget label or children widgets. The default value is 6 pixels.

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