Hi Mogli,
There is no dedicated command on Text elements for changing the size of the font. The command settings.size determines the size of the box surrounding the text, not the size of the font. But you can use this instead:
newText(variable.SocStat_context)
.settings.css("font-size", "xxem")
.print()
I’m not sure I understand your question about slider length. The following will produce a 500px wide slider, with only 10 points, which would ordinarily be much narrower:
newScale(10)
.settings.slider()
.settings.size(500)
.print()
Jeremy