The navigationButtonFontStyle attribute specifies the font in which the navigation button caption is presented.
<instruct> <likert> <openended> <sliderTrial> <survey> <surveyPage>
Name | Type | Description |
---|---|---|
name | expression | A string indicating the name of the font. The name can hold several font names separated by commas as a fallback in case the system doesn't support the first font. |
height | expression | Optional. An decimal that specifies the height of the font in points (default), pixels, or percent. |
bold | boolean | Optional. Indicates whether the font should be bold. |
italic | boolean | Optional. Indicates whether the font should be italic. |
underline | boolean | Optional. Indicates whether the font should underlined. |
strikeout | boolean | Optional. Indicates whether the font should appear with a strikeout line. |
quality | integer | Optional. An integer ranging from 1 to 5 indicating the font quality. 5 is the best quality (ClearType). |
characterset | integer | Optional. An integer indicating the character set code. |
Inquisit provides an easy to use font picker dialog to set this attribute. To use the font picker, 1) move the cursor to where you want to insert the the font attribute, 2) open the Tools menu, and 3) select "Font Wizard". Once you have selected the desired font settings in the Font Wizard dialog, select OK and the font attribute and appropriate settings will automatically be inserted in your script at the cursor location.
The following sets the button caption font to Arial bold and sets the height to 5% of the screen height:
<survey somesurvey>
/ navigationButtonFontStyle = ("Arial", 10%, true)
/ navigationButtonSize = (10%, 10%)
/ items = ("yada yada yada")
</survey>
The following sets the button caption font for a particular survey page to italic Tahoma font, 25 pixels high:
<surveypage page1>
/ navigationButtonFontStyle = ("Tahoma", 25px, false, true)
/ navigationButtonSize = (250px, 50px)
/ items = ("yada yada yada")
</surveypage>