The Interactive Geometry Software Cinderella

Forum: Cinderella Support (E)

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

dfgrosso
2 stars
Re: Aw: Re: Re: Applet look


> If you ask about some specific things, I will start to document them on http://doc.cinderella.de .


Once Again, thanks.

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).

Appreciate your (quick) help.


Daniel

 
on: Fri 07 of Sep, 2007 [16:11 UTC] reads: 14898

Posted messages

author message
Re: Re: Aw: Re: Re: Applet look
on: Tue 11 of Sep, 2007 [08:07 UTC]
> 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



Page: 1/2  [next]

Show posts:
 
Language