Welcome, Guest
Please Login or Register.    Lost Password?

How i can change font in todolist (shadowskin)?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: How i can change font in todolist (shadowskin)?
#12637
How i can change font in todolist (shadowskin)? 4 Years, 2 Months ago  
....
Code:

  <?xml version="1.0" encoding="UTF-8" ?> 
- <skin version="1.0">
- <window id="Todo List" w="%Todolist_width%" default="1">
  <button id="Todo List.button.newtodo" origin1="TOP-LEFT" x1="0" y1="0" origin2="TOP-RIGHT" x2="0" y2="20" dblcklaction="Global_ShowTodoDialog()" /> 
  <image id="Todo List.background.top" element="bitmap.background.top.todo" origin1="TOP-LEFT" x1="0" y1="0" origin2="BOTTOM-RIGHT" x2="0" scaling="TILE" margins="95,0,8,0" /> 
  <image id="Todo List.background.tile" element="bitmap.background.tile.full" origin1="BOTTOM-LEFT" x1="0" y1="0r" origin2="BOTTOM-RIGHT" x2="0" y2="-12" scaling="TILE" margins="8,0,8,0" /> 
- <scrollgroup id="Todo List.scrollgroup" origin1="TOP-LEFT" x1="10" y1="20" origin2="TOP-RIGHT" x2="-12" y2="%Todolist_height%" thumbelement="bitmap.scroll.thumb" barelement="bitmap.scroll.bar" barscaling="TILE" thumbscaling="TILE" thumbmargins="0,5,0,5" barmargins="0,5,0,5" showscrollbaraways="0" shrinktofit="1">
- <todolist id="Todo List.todolist" origin1="TOP-LEFT" x1="0" y1="0" origin2="BOTTOM-RIGHT" x2="0" y2="0">
- <header>
  <appearance padding="0,0,0,0" element="font.bold" color="255,255,255,255" effect="NORMAL" align="TOP-LEFT" /> 
  </header>
- <item>
  <appearance padding="10,0,0,3" element="font.normal" color="255,255,255,255" effect="NORMAL" align="TOP-LEFT" /> 
  <button element="bitmap.todo.item" origin="TOP-LEFT" x="0" y="0" action="Global_ToggleTaskStatus('#GUID#')" tooltip="Mark as completed" /> 
  </item>
- <overdueitem>
  <appearance priority="200" padding="10,0,0,3" element="font.bold" color="255,0,0,255" effect="SHADOW" align="TOP-LEFT" /> 
  <button element="bitmap.todo.item" origin="TOP-LEFT" x="0" y="0" action="Global_ToggleTaskStatus('#GUID#')" tooltip="Mark as completed" /> 
  </overdueitem>
- <completeditem>
  <appearance priority="200" padding="10,0,0,3" element="font.normal" color="180,180,180,255" effect="NORMAL" align="TOP-LEFT" /> 
  <button element="bitmap.todo.item" origin="TOP-LEFT" x="0" y="0" action="Global_ToggleTaskStatus('#GUID#')" tooltip="Mark as needs action" /> 
  </completeditem>
- <cancelleditem>
  <appearance priority="200" padding="10,0,0,3" element="font.normal" color="180,180,180,255" effect="NORMAL" align="TOP-LEFT" /> 
  <button element="bitmap.todo.item" origin="TOP-LEFT" x="0" y="0" action="Global_ToggleTaskStatus('#GUID#')" tooltip="Mark as completed" /> 
  </cancelleditem>
  <progressbar element="bitmap.progressbar.large" origin1="TOP-LEFT" x1="10" y1="0" origin2="BOTTOM-RIGHT" x2="0" y2="0" scaling="TILE" margins="2,0,2,0" /> 
  <separator padding="0,10,0,0" /> 
  </todolist>
  </scrollgroup>
  <image id="Todo List.bottom" element="bitmap.background.bottom" origin1="BOTTOM-LEFT" x1="0" y1="0r" origin2="BOTTOM-RIGHT" x2="0" y2="12r" scaling="TILE" margins="10,0,10,0" /> 
  </window>
  </skin>

yo1
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/07/11 03:49 By yo1.
The administrator has disabled public write access.
 
#12642
Re: How i can change font in todolist (shadowskin)? 4 Years, 2 Months ago  
You need to define the fonts first in the elements.xml and then replace the font.normal and font.bold with the id of the new fonts you defined.
Rainy
Moderator
Posts: 5960
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#12643
Re: How i can change font in todolist (shadowskin)? 4 Years, 2 Months ago  
<font id="font.bold" facename="Arial" weight="BOLD" size="8" />


plz example
yo1
Fresh Boarder
Posts: 5
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