Changing font size and color in sketchpads
Hi guys,
I'm afraid I have to open a new thread for this.
I want to edit text in a sketchpad textline element. So I found this page and this thread.
To change the font size in my textline element now I wrote this in the element:
"<span size=32>Liebe Versuchsteilnehmerin, lieber Versuchsteilnehmer!</span>"
This is not working for me at all. The text will still remain at the same size as without the span size command.
Other commands like for italic are working fine.
Hope you guys can help me with this simple problem. Many thanks!
Comments
Hey Flippy,
i experienced the same when writing all in inline_scripts.
I think it might have to do with the backend. I am always using xpyriment. But that's just a guess. @sebastiaan knows more about that.
What worked for me was just changing the main settings
Herefore you click on "new_experiment" in the overview. There you change background color and font for the whole experiment.
Hope that helps
Stephan
Hi Stephan,
thanks for your help. I'm using the legacy backend (can't change that because of OpenGL error).
I don't want to set the the font size for the whole experiment because I want to change it a few times.
My solution for now is, that I add another textline element for every bit of text with different fonz sizes.
I would prefer one textline element(with HTML codes) with different font sizes though.