APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Font of text and textSet in EJsS 5.0 post and replies

Return to the Font of text and textSet in EJsS 5.0 thread
Login to post to this thread

Can't change Fontsize of textSet
Chi-Feng Lin
28 Posts

I can change the font size of text, but can't change font size of testSet.

Output Area shows "WARNING: ControlElement setProperty() - Property not
registered : Font for element : textSet"

Please tell me how to fix the problem.

Thank a lot.

Chi-Feng Lin

Attached File: test.zip


Replies to Can't change Fontsize of textSet

Re: Can't change Fontsize of textSet -
lookang Avatar
lookang
245 Posts

i normally use

PixelSize===True 

Font=== Blank

the error u mentioned has been removed

:)

 

yes, u r right. the fonts cannot be changed for the array, likely a bug.

 

Post edited April 15, 2014 at 1:18 AM EST.

Attached File: ejss_src_test.zip


OSP@SG blog
OSP@SG Digital Library


Re: Re: Can't change Fontsize of textSet -
Chi-Feng Lin
28 Posts

Dear lookang,

Thank you very much.

I want to change text or textSet size. If Font function does not work in textSet, can I change the size of text or textSet from "Position and Size" of Properties? I tried by myself, but the text and textSet size are still not changed. Do you have some solutions?

Thank you for your help.

Chi-Feng Lin



OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book