تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
10434 أدوات العرض

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?

الصورة الرمزية
إهمال
أفضل إجابة

Put this :

<fill color="white"/>

Before the drawString tag.

الصورة الرمزية
إهمال
الكاتب

Thanks Karim, that was just what I needed

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
ديسمبر 23
4477
10
أكتوبر 20
8593
1
مارس 15
2875
0
مارس 15
3808
0
مارس 15
4336