The Interactive Geometry Software Cinderella

Forum: Cinderella Support (E)

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

dfgrosso
2 stars
Applet look


Hi everyone,

Im kind of new in Cinderella. I am developing some exercises i'd like to publish but my website already as some style and color rules i would like to respect. Is there any way i can change the look of exercise, namely, the size of the work area an the position of toolbar and exercise description?

The applet "params" don't seem o configure that and i cant't find any export properties.

Can anybody help me?

Thanks in advance.

Daniel

 
on: Thu 06 of Sep, 2007 [14:31 UTC] reads: 118782

Posted messages

author message
Re: Applet look
on: Fri 07 of Sep, 2007 [10:01 UTC]
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


author message
dfgrosso
2 stars
Re: Re: Applet look
on: Fri 07 of Sep, 2007 [15:07 UTC]

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


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