Next button: change fontsize


Author
Message
Bibliophelia
Bibliophelia
Partner Member (908 reputation)Partner Member (908 reputation)Partner Member (908 reputation)Partner Member (908 reputation)Partner Member (908 reputation)Partner Member (908 reputation)Partner Member (908 reputation)Partner Member (908 reputation)Partner Member (908 reputation)
Group: Forum Members
Posts: 8, Visits: 75
Hi there,

I anticipate having a lot of questions in the next few months. Apologies! I am new to coding experiments.

I am having issues adjusting the size of the font for the "Next" button. I have been able to change the button position with nextbuttonposition and the size of the button box with navigationbuttonsize. However, no matter whether I try to use pixels, points, or percentages, and no matter what font I choose, I cannot seem to change the style and size of the font for the "Next" button. I have tried doing this for survey as well as for an individual surveypage, with no luck.

Currently, the end of my code looks like this (everything else works):

<survey fppi>
/ navigationbuttonfontstyle = ("Verdana", 20pt, true)
/ navigationbuttonsize = (250px, 50px)
/ showbackbutton=false
/ nextbuttonposition = (70%, 90%)
/ pages = [1=fppi1; 2=fppi2; 3=fppi3; 4=fppi4; 5=fppi5; 6=fppi6]
/ responsefontstyle = ("Verdana", 12pt, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", 12pt, false, false, false, false, 5, 0)
/ itemspacing = 3%
/ showpagenumbers = false
</survey>

Any pointers? Thank you so so much for your support! I appreciate it!
Julia

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Bibliophelia - Wednesday, July 4, 2018
Hi there,

I anticipate having a lot of questions in the next few months. Apologies! I am new to coding experiments.

I am having issues adjusting the size of the font for the "Next" button. I have been able to change the button position with nextbuttonposition and the size of the button box with navigationbuttonsize. However, no matter whether I try to use pixels, points, or percentages, and no matter what font I choose, I cannot seem to change the style and size of the font for the "Next" button. I have tried doing this for survey as well as for an individual surveypage, with no luck.

Currently, the end of my code looks like this (everything else works):

<survey fppi>
/ navigationbuttonfontstyle = ("Verdana", 20pt, true)
/ navigationbuttonsize = (250px, 50px)
/ showbackbutton=false
/ nextbuttonposition = (70%, 90%)
/ pages = [1=fppi1; 2=fppi2; 3=fppi3; 4=fppi4; 5=fppi5; 6=fppi6]
/ responsefontstyle = ("Verdana", 12pt, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", 12pt, false, false, false, false, 5, 0)
/ itemspacing = 3%
/ showpagenumbers = false
</survey>

Any pointers? Thank you so so much for your support! I appreciate it!
Julia

No problems with that code, and it's working as expected for me:



Since I obviously don't have the rest of your script, the full code that produced the above result is:

<survey fppi>
/ navigationbuttonfontstyle = ("Verdana", 20pt, true)
/ navigationbuttonsize = (250px, 50px)
/ showbackbutton=false
/ nextbuttonposition = (70%, 90%)
/ pages = [1=fppi1; 2=fppi2; 3=fppi3; 4=fppi4; 5=fppi5; 6=fppi6]
/ responsefontstyle = ("Verdana", 12pt, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", 12pt, false, false, false, false, 5, 0)
/ itemspacing = 3%
/ showpagenumbers = false
</survey>

<surveypage fppi1>
/ caption = "placeholder for fppi1"
</surveypage>

<surveypage fppi2>
/ caption = "placeholder for fppi2"
</surveypage>

<surveypage fppi3>
/ caption = "placeholder for fppi3"
</surveypage>

<surveypage fppi4>
/ caption = "placeholder for fppi4"
</surveypage>

<surveypage fppi5>
/ caption = "placeholder for fppi5"
</surveypage>

<surveypage fppi6>
/ caption = "placeholder for fppi6"
</surveypage>

Run under the latest Inquisit 4 version, but tested and working under the latest Inquisit 5 version as well.

Edited 6 Years Ago by Dave
Bibliophelia
Bibliophelia
Partner Member (908 reputation)Partner Member (908 reputation)Partner Member (908 reputation)Partner Member (908 reputation)Partner Member (908 reputation)Partner Member (908 reputation)Partner Member (908 reputation)Partner Member (908 reputation)Partner Member (908 reputation)
Group: Forum Members
Posts: 8, Visits: 75
Thanks for your swift response! Apologies, I could have included a shorter version of the whole code to spare you the surveypage-coding.

Weird, even when I run your code, the font for the next button won't budge for me (run in Inquisit 4.0.10.0, which should be the latest). I'm using a Mac, not sure if that is relevant. I'm attaching a screenshot but it sounds like it's not a coding problem, so not sure if anything can be done here.

Thank you again! I appreciate it :)




GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search