I am running PsychoPy2 version 1.90.2 (and have also tried this on PsychoPy2_PY3 version 1.90.1) using standard standalone on Win10.
I am building a simple experiment where I will show participants images and ask them to respond to them using the keyboard. During the trials I want to show them a rating scale at the bottom of the screen, under the image, to remind them of the response options. Under the numeric scale I want to display text to explain what both of the extreme options represent:
However, despite putting the scale and the description of the response options on different lines in the builder, they show up on the same line separated by an unknown character rather than on separate lines when the study runs:
Iāve tried putting in ā\nā where the new line should appear, but this didnāt make a difference. Looking at the code there is a ā\nā where the new line should be, though for some reason it doesnāt return a new line once the code runs.
Does anyone know why this might happen and if thereās any solution to it?
OK, Iām mystified by this and canāt replicate it. Are you able to create the smallest possible example Builder file that shows this and post it here? i.e. strip out everything like images, loops etc) and just have a routine that shows only a text stimulus showing this behaviour.
Iāve attached an example here with just a single text stimuli where, again, despite there being a \n in the code I get no line break when running the study.
It might be something to do with my computer as I havenāt had this issue previously. Iāll try this on a different machine as well as try to re-install PsychoPy to see if that does anything.
i.e. with no line breaks except at the end (which wonāt be apparent on screen). But I edited the ext in the text component, putting in some line breaks as required (i.e. just by pushing enter, not by typing \n), and everything appears as intended. So this does seem somehow specific to your system in a way this is not obvious.
Iām experiencing a similar problem. Iām running v1.90.3 on Mac OSX Sierra. Note that I am also experiencing the issue with the mouse pixel coordinates that seem to double on a retina screen even though this issue was supposed to have been sorted in this version of PsychoPy, so there may be something deeper happening here.
Iām attaching the simplest version of the code. Note that in my case, it is reading text from an excel file, and then it fails to interpret the \n format. When I use carriage returns in the dialog box directly, there is no problem. Attached is the simplest version of the code along with the associated excel file.
Iām running v3.0.0b12 on a Mac 10.13.6 and inserting the ā\nā in to the instructions file to add carriage returns did not work for me either. I found a work-around for the issue, though. When I inserted the carriage returns into the text in excel manually (Cmd + Shift + Enter) and saved the instructions file in a ā.xlsxā format, they appeared on correctly in the program.
Has this been resolved? I am having the same problem with code that worked great with Psychopy 1.90.1. But now that I updated to 3.05, textStim only displays in Arial and does ignores \n and wrapWidth.
I am using a MacOS Mohave, 10.14.3