Specifying Size and Location Values

For most components you can specify size (height/width) and location (x/y coordinate) and font size values. You can specify values for these attributes in absolute or relative measurements. The following tables list the measurement types you can use.

Absolute Measurement Types

Measurement Type

Usage

Centimeters (cm)

3cm

Millimeters (mm)

3mm

Inches (in)

3in

Points (pt)

3pt

Picas (pc)

3pc

 

Relative Measurement Types

Measurement Type

Description

Usage

Pixels (px)

Default XAL measurement type.

Based on the resolution of the screen.

3px

Percentage (%)

Based on the default preferences of the browser.

50%

Ems (em)

Based on the default preferences of the browser.

3em

X-height (ex)

Based on the height of the lowercase x character

3ex