Experiment text displays differently on various Windows computers


Author
Message
bjohns47@masonlive.gmu.edu...
bjohns47@masonlive.gmu.edu
Associate Member (156 reputation)Associate Member (156 reputation)Associate Member (156 reputation)Associate Member (156 reputation)Associate Member (156 reputation)Associate Member (156 reputation)Associate Member (156 reputation)Associate Member (156 reputation)Associate Member (156 reputation)
Group: Forum Members
Posts: 11, Visits: 85
I have tested my experiment on desktops and laptops and the text displays differently on both. On the desktop, which was used to create the experiment, text displays fine when using the Inquisit online Experiment. However, when running the same experiment on a laptop, the text does not display properly and runs together, making it difficult to read the questions. It seems the text is a larger font on the laptop and does not fit onto the the lines as it does on the desktop for example, titles for radio buttons run over titles for the next radio button on the same line on the laptops, but not the desktop. Resolutions are different for the computers, but even when I make them nearly the same, the problem still occurs. What should I add to the script that will ensure text displays the same on all computers 

Thanks,

Benjamin
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: 105K
I have tested my experiment on desktops and laptops and the text displays differently on both. On the desktop, which was used to create the experiment, text displays fine when using the Inquisit online Experiment. However, when running the same experiment on a laptop, the text does not display properly and runs together, making it difficult to read the questions. It seems the text is a larger font on the laptop and does not fit onto the the lines as it does on the desktop for example, titles for radio buttons run over titles for the next radio button on the same line on the laptops, but not the desktop. Resolutions are different for the computers, but even when I make them nearly the same, the problem still occurs. What should I add to the script that will ensure text displays the same on all computers 

Thanks,

Benjamin

To have things scale properly across different display dimensions and resolutions, you should:
- Define any and all positions and sizes, including font sizes, in percentages, and
- Specify a uniform /canvasaspectratio in defaults.

Virtually all scripts available in the library at https://www.millisecond.com/download/library/are set up this way, so you can refer to those as examples.
bjohns47@masonlive.gmu.edu...
bjohns47@masonlive.gmu.edu
Associate Member (156 reputation)Associate Member (156 reputation)Associate Member (156 reputation)Associate Member (156 reputation)Associate Member (156 reputation)Associate Member (156 reputation)Associate Member (156 reputation)Associate Member (156 reputation)Associate Member (156 reputation)
Group: Forum Members
Posts: 11, Visits: 85
Dave - 5/14/2021
I have tested my experiment on desktops and laptops and the text displays differently on both. On the desktop, which was used to create the experiment, text displays fine when using the Inquisit online Experiment. However, when running the same experiment on a laptop, the text does not display properly and runs together, making it difficult to read the questions. It seems the text is a larger font on the laptop and does not fit onto the the lines as it does on the desktop for example, titles for radio buttons run over titles for the next radio button on the same line on the laptops, but not the desktop. Resolutions are different for the computers, but even when I make them nearly the same, the problem still occurs. What should I add to the script that will ensure text displays the same on all computers 

Thanks,

Benjamin

To have things scale properly across different display dimensions and resolutions, you should:
- Define any and all positions and sizes, including font sizes, in percentages, and
- Specify a uniform /canvasaspectratio in defaults.

Virtually all scripts available in the library at https://www.millisecond.com/download/library/are set up this way, so you can refer to those as examples.

Thanks. I did not know I could set the font size by percentages. Works great.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search