Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextStimulus missing font size argument #21

Open
musslick opened this issue Oct 14, 2024 · 0 comments
Open

TextStimulus missing font size argument #21

musslick opened this issue Oct 14, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@musslick
Copy link
Contributor

musslick commented Oct 14, 2024

Sometimes experimenters would like to fit more text on the screen. For that it would be useful to have an argument specifying the font size for the TextStimulus.

Note that the experiment breaks if there is too much text on the screen, e.g.,

  introduction_task = TextStimulus(text='In this experiment, you will be presented with a series of pictures.<br> \
                                       Each picture contains two sets of dots, one left and one right.<br><br> \
                                       You have to indicate whether the two sets contain an equal number of dots \
                                       (press the "y" key for yes) or a different number of dots (press "n" key for no).<br>\
                                       Note: For each picture, you have only 2 seconds to respond, so respond quickly.<br>\
                                       You can only respond with the "y" and "n" keys while the dots are shown.<br><br> \
                                       Press the SPACE key to begin the experiment.', 
                                    choices=[' '])
@musslick musslick added enhancement New feature or request bug Something isn't working labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant