Welcome, Guest
Please Login or Register.    Lost Password?

Changing Title text of a window
(1 viewing) (1) Guest
Go to bottomPage: 123
TOPIC: Changing Title text of a window
#19390
Changing Title text of a window 1 Year, 4 Months ago  
Hi Folks,

I'm a noob so this may be a dumb question.

I found a skin I like and edited the xml files to make it look the way I want except I don't know how to change the window title.

I mean the white text in this screenshot:Events list screenshot

Specifically where is the font, color and text for the title set?

Below is the code for the events list xml:

Code:



<?xml version="1.0" encoding="UTF-8" ?>
<skin version="1.0">
  <window id="Event List" w="250" default="1">
    <button id="Event List.button.newevent" origin1="TOP-LEFT" x1="0" y1="0" origin2="TOP-RIGHT" x2="0" y2="20" dblcklaction="Global_ShowEventDialog(#WINDOW#)" />
    <image id="Event List.background.top" element="bitmap.background.top.events" origin1="TOP-LEFT" x1="0" y1="0" origin2="BOTTOM-RIGHT" x2="0" scaling="TILE" margins="95,0,8,0" />
<scrollgroup id="Event List.scrollgroup" origin1="TOP-LEFT" x1="10" y1="20" origin2="TOP-RIGHT" x2="-12" y2="%Eventlist_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">
      <eventlist id="Event List.eventlist" 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="104,146,198" effect="NORMAL" align="TOP-LEFT" />
        </header>
        <pastheader>
          <appearance padding="0,0,0,0" element="font.bold" color="200,200,200,255" effect="NORMAL" align="TOP-LEFT" />
        </pastheader>
        <item>
          <appearance padding="0,0,0,3" element="font.normal" color="255,255,0" effect="NORMAL" align="TOP-LEFT" />
        </item>
        <pastitem>
          <appearance padding="0,0,0,3" element="font.normal" color="200,200,200,255" effect="NORMAL" align="TOP-LEFT" />
        </pastitem>
        <separator id="Event List.separator" padding="0,10,0,0" />
      </eventlist>
    </scrollgroup>
  </window>
</skin>




Thank you,

I really appreciate the help!

GG
GrouchyGaijin
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Sweden
The administrator has disabled public write access.
Thank you,

GG
 
#19392
Re: Changing Title text of a window 1 Year, 4 Months ago  
Welcome to the forum, GrouchyGaijin.

The Window-Title is not using a string, but using a image that include title-text and background.
The code-line is :
<image id="Event List.background.top" element="bitmap.background.top.events" origin1="TOP-LEFT" x1="0" y1="0" origin2="BOTTOM-RIGHT" x2="0" scaling="TILE" margins="95,0,8,0" />

The files of images are on (e.g. shadow4.skin) :
shadow4.skin\images\Events-bg-[language].png

So, you can create a new image and replace the old one.

Or, modify the code-line as :
<text id="Event List.new title" text="My Events List" x1="10" y1="10" element="font.bold" color="200,200,200" effect="SHADOW" effectcolor="100,100,100" align="TOP-LEFT" >
(note, this will no background, unless to add a new background-code-line.)
anoob
Platinum Boarder
Posts: 502
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: TaiChung, Taiwan, R.O.C. Birthday: 02/12
Last Edit: 2013/05/25 04:27 By anoob.
The administrator has disabled public write access.
I couldn't speak English! This skin released to Customize.org(Do you want it? Click Picture) Please contact me if interested: jhg5702@gmail.com
 
#19394
Re: Changing Title text of a window 1 Year, 4 Months ago  
I made some time ago a Labeled List for Shadow4 skin. Maybe this helps you: www.rainlendar.net/cms/index.php?option=com_kunena&Itemid=42&func=view&catid=9&id=19188#19194
Jorge_Luis
Platinum Boarder
Posts: 795
graphgraph
User Offline Click here to see the profile of this user
Gender: Male My Rainlendar Skins Location: Argentina Birthday: 03/15
The administrator has disabled public write access.
 
#19398
Re: Changing Title text of a window 1 Year, 4 Months ago  
Hi Guys,

Thank you for the answers.

This skin is actually called My Basic Calendar but it is probably very similar to Shadow4.

In any case, I found the bg image for the event's list and thought I'd just edit the image. So, I made a duplicate of the original png and then changed the text to Google Tasks.

Well, I had to make the font really small to fit into the image and when I refreshed R2 I had a very small Google Tasks instead of a nice looking TO DO:

So I thought I'd just increase the font size. When I did that, I also increased the canvas size to fit the text in comfortably.

I ended up with Google Taskssssssssssssssssssssss

Any ideas about what I need to do?

Thank you,

GG
GrouchyGaijin
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Sweden
The administrator has disabled public write access.
Thank you,

GG
 
#19402
Re: Changing Title text of a window 1 Year, 4 Months ago  
Can you post the modified image ? not the original one.
Then I maybe can help you for what you need to do.
Basically, you need to modify todolist.xml file.
Found this code-line:
<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" />
change as margins="100,0,0,0" (just sample)
anoob
Platinum Boarder
Posts: 502
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: TaiChung, Taiwan, R.O.C. Birthday: 02/12
The administrator has disabled public write access.
I couldn't speak English! This skin released to Customize.org(Do you want it? Click Picture) Please contact me if interested: jhg5702@gmail.com
 
#19403
Re: Changing Title text of a window 1 Year, 4 Months ago  
Here is the offending image.

Thank you!

I really appreciate the help.

Thank you,

GG
GrouchyGaijin
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Sweden
The administrator has disabled public write access.
Thank you,

GG
 
Go to topPage: 123
get the latest posts directly to your desktop