padding

Specifies the size of the gap (in points) between the TextBox border and text contents.

Type

java.awt.Insets or integer array

Example

padding = new java.awt.Insets(1, 2, 1, 2);

   or

padding = [1, 2, 1, 2];

See Also

Text and TextBox, for additional information on text presentation elements.

<< justify © 1996-2013 InetSoft Technology Corporation (v11.5) shape >>