### 2.5.1 Options for Configuring the Geometry

Normally, one should leave the geometry of widgets to the geometry manager. However, if there are needs to fix the location or dimension of a widget, the following set options may be used.

- EZ_X This option sets the coordinate, in pixels, of the upper-left corner of a widget inside its parent. There is no default value for this attribute.

- EZ_Y This option sets the coordinate, in pixels, of the upper-left corner of a widget inside its parent. There is no default value for this attribute.

- EZ_POSITION This option sets the coordinate of the upper-left corner of a widget in its parent.

- EZ_WIDTH This option sets the width of a widget, in pixels. Configured width will always be honored even if it is smaller than the computed minimal width: smallest horizontal dimension to hold its lable or children widgets. There is no default value for this attribute.

- EZ_HEIGHT This option sets the height of a widget, in pixels. Like width, configured height will always be honored. There is no default value for this attribute.

- EZ_SIZE This option sets the width and height of a widget.

- EZ_GEOMETRY This option sets geometry of a widget, it needs four values, `x,y,w,h`

- EZ_WIDTH_HINT This option sets the width hint of a widget, in pixels. Width hint is your prefered width of a widget. It is not guaranteed to be honored.

- EZ_HEIGHT_HINT This option sets the height hint of a widget, in pixels.

- EZ_SIZE_HINT This option sets the width-hint and the height-hint of a widget, in pixels.

- EZ_EXPAND This option specifies whether or not the widget should be stretched in one direction to the size of its parent. Valid values are `True` and `False`. The default value is `False`. Under the default geometry manager, a widget can only be stretched in one direction, either vertically or horizontally. This direction is determined by the orientation of its parent. If its parent has an vertical orientation, then the widget can only be stretched horizontally. To expand in both directions, set the fill mode on its parent. Under the grid bag geometry manager (when widget is a direct children of a GridBag widget), a widget streches in both directions to fill out its assigned cell.

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