Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
10495 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Put this :

<fill color="white"/>

Before the drawString tag.

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks Karim, that was just what I needed

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 12 23
4551
10
thg 10 20
8651
1
thg 3 15
2903
0
thg 3 15
3841
0
thg 3 15
4377