Jump to content

Recommended Posts

Guest drblow
Posted

Hello again! :)

Just want to know if someone can tell me how to make the text in my calendar plugin move down to a second line? It spills over the edge of the image on home screen (see attatched pic), and I want to keep the layout I have, but just make the text go down to the next line (obviously starting at the same "x" value as the first line - know what I mean?!?!

calendar.jpg

Guest celsol
Posted

add a w="xx" in the tag

where xx is the total width from start point x in pixels

approx 88 in the sample shown above :wink:

Guest drblow
Posted

Mmm.....

I tried that, and the xml wouldn't load in the home screen menu! :x

Got this error msg -

The character '<' cannot be used in an attribute value.

Error processing resource

'file:///C:/Documents and Settings/Desktop/sp4.home.xml'.

Line 146, Position 12

-----------^

I didn't change any values from the previous working file except to add the w="165".

What have I done??

[edit] noticed after posting that the pointer in the error msg is in the wrong place!! It referred to the first < in the line ( *<*text>subject...)

Guest celsol
Posted

PM me your xml and I'll have a look for you.

Guest drblow
Posted

Celsol -

Did you get my reply via PM?? Can't see it in my SENT items, so just checking!

Guest gradiation
Posted

try postin git on the forum, that way everyone can help, rather than just one person.

Guest drblow
Posted
try postin git .

No need for name calling now!!! :) :(

I was just following Celsol's request for a PM anyway!

xml file attatched here if anybody knows how to make the text in calendar move down to a second line (starting at the same "x" value).

Basically the problem is the text spilling over the edges of the image. I'm getting around it at the minute by adjusting the image slightly, and moving the text back. But what I really want to do is make it move down onto a second line when it runs over the area in the image for text.

(refer to pic in previous posts).

Cheers!

sp4.home.zip

Guest gradiation
Posted

have you tried seeting a w value for the time aswell?

Guest drblow
Posted

Mmm... weird! :shock:

Putting a "w" value for the time works a treat! But still doesnt work for text. The text just disappears at the selected "w" value. :?

Guest gradiation
Posted

u should be able to fiddle with the 2 till u get it on. think that they are meant wo work inline with eachother

| time here | subject here |

Guest drblow
Posted

Does that mean that they should be both at the same "y" value - following each other horizontally?? If so, I've tried fiddling with that for the lst few hours, but no result yet. I can't believe that it will work for the tim, but not the text!! :evil:

Mmm... keep .... trying .... :twisted:

Guest drblow
Posted

HE HE! It works!!! :)

I'm sure that the reason it didn't work before was just my poor coding! I did alot of basic error checking this afternoon, and one of the times I changed settings & it worked!

The xml looks like this -

Which I tried about 50 times before!! :twisted: Who cares! This one works! Now I just have to make the images fit!

Thanks alot to gradiation & celsol for the help! & Richie M for help with colours!!

Cheers.

Guest gradiation
Posted

No worries mate. its usually the case that u just need to check, check then check again. and if it still doesn't work, it's worth another check :)

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.