Welcome, Guest
Please Login or Register.    Lost Password?

Category color tag
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Category color tag
#11462
Category color tag 4 Years, 9 Months ago  
I have edited the following category:

<category id="Work">
<appearance target="30" layer="0" element="bitmap.icon.small.tools" align="TOP-LEFT" showalways="1" ignoredefault="1" />
<appearance target="30" layer="0" priority="1" color="color.green" showalways="1" />
<appearance target="30" layer="0" priority="2" color="color.yellow" showalways="1" />
<appearance target="30" layer="0" priority="3" color="color.red" showalways="1" />
</category>

I know that my changes are taking affect because if I change the targetid I see different results in the program. The problem I have is that I want the colours to be different for each priority in the todo list and my changes do not take affect. The colors are defined as follows:

<color id="color.red" rgba="255,50,50,255" />
<color id="color.yellow" rgba="255,255,50,255" />
<color id="color.green" rgba="50,255,50,255" />

I have also removed the color tags from the todolist.xml file the high, medium and low priority items.

I would appreciate any help or advice.

Thanks

Andrew
as1981
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/12/30 14:09 By as1981.Reason: Additional info
The administrator has disabled public write access.
 
#11473
Re: Category color tag 4 Years, 9 Months ago  
The "priority" in the category definition is used when there are multiple items on the same layer to determine which of them is displayed. It has nothing to do with the task priorities. If you want to change the text appearance depending on the task priority you need to use the "lowpriorityitem", "mediumpriorityitem" and "highpriorityitem" elements as in the todolist.xml in the Chromophore skin.
Rainy
Moderator
Posts: 5991
graph
User Online Now Click here to see the profile of this user
The administrator has disabled public write access.
 
#11482
Re: Category color tag 4 Years, 9 Months ago  
Hello,

Thank you for your clear and helpful response.

Andrew
as1981
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop