Please enable JavaScript to view this site.

 

Navigation: Common UI Elements

Measurements Editor

Scroll Prev Up Next More

The Measurements Editor is an edit control that has been modified to mimic the behavior of the measurements editors in QuarkXPress and InDesign.

 

You can type in calculations using the 4 operators +-/* (addition, subtraction, division and multiplication), as shown on the right. This is particularly useful if you need to calculate the leading to use between a series of lines, or the step and repeat size to use.

 

Each editor is setup to display a specific type of units (millimeters, inches, points or percent), but you can combine elements using various units, as shown on the right.

 

You can type either a period or comma as decimal separator, and Q++Studio will convert it automatically to the proper separator as used by Windows on your workstation.

 

Any value that you type without units will be treated as if it was specified using the default units of the current editor (this parallels the QuarkXPress and InDesign behavior).

The default units to which all calculations are set are those specified in the size units property of the current script.

 

The expressions you enter into these edit controls are evaluated whenever the focus switches to another control, or if you press the Enter key while the control has the focus.