The navigationButtonSize attribute specifies size of the navigation button.
<survey> <surveyPage>
or
/ navigationButtonSize = (widthexpression, heightexpression)Name | Type | Description |
---|---|---|
width | extent | The width of the button in pixels (default), percent, or points. |
height | extent | The height of the button in pixels (default), percent, or points. |
widthexpression | value | An expression resolving to the width of the button in pixels (default), percent, or points. If width is set to null and a height is specified, the width is set to the pixel size of the height. |
heightexpression | value | An expression resolving to the height of the button in pixels (default), percent, or points. If height is set to null and a width is specified, the height is set to the pixel size of the width. |
The navigationButtonSize attribute allows the sizing of the navigation buttons for moving forward and backward in through the pages of a survey .
The following sets button height and width to 10% of the screen:
<survey somesurvey>
/ pages=[1=page1; 2=page2; 3=page3]
/ navigationButtonFontStyle = ("Arial", 10%, true)
/ navigationButtonSize = (10%, 10%)
</survey>
The following sets button width and height to 250 and 50 pixels respectively:
<surveypage page1>
/ pages=[1=page1; 2=page2; 3=page3]
/ navigationButtonFontStyle = ("Tahoma", 25px, false, true)
/ navigationButtonSize = (250px, 50px)
</surveypage>