The Interactive Geometry Software Cinderella

Forum: Cinderella Support (E)

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

dfgrosso
2 stars
Re: Re: Applet look



Hello,

Yes. Thanks for your help. I'm starting to catch it! :) Is there any list of the applet param's defined?

Thanks a lot.

Daniel

> Daniel,
>
> the applet size will be the same of the corresponding construction window. For the exercise controls and the message window you can change the size by changing the height and width parameters in the applet tags.
>
> Does this help? If not, please just post the HTML of your export here or send it to support@cinderella.de and explain what you would like to change. I can then post the changed version for a better explanation.
>
> Ulli

 
on: Fri 07 of Sep, 2007 [15:07 UTC] reads: 12663

Posted messages

author message
Aw: Re: Re: Applet look
on: Fri 07 of Sep, 2007 [15:18 UTC]
> Yes. Thanks for your help. I'm starting to catch it! :) Is there any list of the applet param's defined?

Unfortunately, no, not yet. But you can find out about them by looking at the cinderella2.properties and cinderella2-user.properties files, because the params are read as if they were properties. Maybe we should make a list in the documentation.

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

Ulli



author message
dfgrosso
2 stars
Re: Aw: Re: Re: Applet look
on: Fri 07 of Sep, 2007 [16:11 UTC]
> 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


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


author message
dfgrosso
2 stars
Re: Re: Re: Aw: Re: Re: Applet look
on: Tue 11 of Sep, 2007 [14:07 UTC]
> <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">
> ~/pp~
>
> Ulli

Hi again,

What is supposed to put in the "name" field. Is it "pref0..n" or you ment something else. I added the code, but nothing happens :s

Thanks!

Daniel




Show posts:
 
Language