Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
10489 Näkymät

I am tring to change the font color in the V7.0 header but am facing the following problem -I am able to change the font to white (my color of choice) within a para style tag by using the standard

> <font color="white">

tag. See example

> <para style="main_header"><font
> color="white">[[
> display_address(company.partner_id) or
> '' ]]</font></para>"

-What I cannot do is change the font to white for text within a drawString tag. If I add a font tag within the drawString tag then the whole element is not shown.

Does anyone know how to change the font color within a drawString tag? Or maybe a competely different approach is better?

Avatar
Hylkää
Paras vastaus

Put this :

<fill color="white"/>

Before the drawString tag.

Avatar
Hylkää
Tekijä

Thanks Karim, that was just what I needed

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
jouluk. 23
4537
10
lokak. 20
8645
1
maalisk. 15
2901
0
maalisk. 15
3839
0
maalisk. 15
4374