customizing font color on Onboard

Asked by Yoav on 2011-03-10

Is it possible to change the font color of Onboard? I am trying to develop a white-on-black keyboard, however I can't manage to modify the font color from black to anything else.

Question information

Language:
English Edit question
Status:
Solved
For:
Onboard Edit question
Assignee:
No assignee Edit question
Solved by:
Francesco Fumanti
Solved:
2011-03-13
Last query:
2011-03-13
Last reply:
2011-03-11
Best Francesco Fumanti (frafu) said : #1

Please, have a look at the file named Full-Dark.onboard, that with the corresponding svg files defines the layout of the full dark keyboard. In the <pane ...> tags you can see the color definition for the font; namely: labelRed='1' labelBlue='1' labelGreen='1' labelAlpha='1'.

By changing the values"1" with other values between 0 and 1 (for example 0.7) , you change the color and the transparency of the font.

Cheers,

Yoav (yoav) said : #2

Thanks! problem solved.