The Interactive Geometry Software Cinderella

Forum: Cinderella Support (E)

Forums->Cinderella Support (E)->Re: Aw: Re: Re: Applet look->Re: Re: Aw: Re: Re: Applet look

Re: Re: Aw: Re: Re: Applet look


> At the moment, i'm interested in changing the style of the text in the "textbox apple", namely: color, size and border (i want to remove it).

Daniel,

the parameters that can be used for the exercise console are:

cinderella.console.foreground
cinderella.console.background

and

cinderella.dialog.font

The color parameters take three comma separated values for red, green and blue between 0 and 255. The font parameter is different. A font can be changed using .size, .bold, .italic and .name, for example:

cinderella.dialog.font.size=12
cinderella.dialog.font.name=SansSerif
cinderella.dialog.font.bold=false
cinderella.dialog.font.italic=false

You will have to add these to the applet using lines like the following:

<param name="pref0" value="cinderella.dialog.font.size=12">
<param name="pref1" value="cinderella.dialog.font.name=SansSerif">
<param name="pref2" value="cinderella.console.background=0,128,255">


Ulli

 
on: Tue 11 of Sep, 2007 [08:07 UTC] reads: 8871

Show posts:
 
Language