Gambas Documentation - /comp/gb.qt4/rect/adjust

/comp/gb.qt4/rect/adjust

# Rect.Adjust (gb.qt4)

Sub Adjust ( Left As Integer [ , Top As Integer, Right As Integer, Bottom As Integer ] )

Shrink or expand the rectangle.

A positive argument will shrink the rectangle, whereas a negative one will expand it.

- If Top is not specified, it will take the value of the Left argument.

- If Right is not specified, it will take the value of the Left argument.

- If Bottom is not specified, it will take the value of the Top argument.