Various lengths, widths, and other dimensions of widgets
can be described in many different units.
If you set a dimension to an integer, it is assumed
to be in pixels.
You can specify units by setting a dimension to a
string containing a number followed by:
Table 3. Dimensional units
c | Centimeters |
i | Inches |
m | Millimeters |
p | Printer's points (about 1/72″) |