modifing text - won't allow for horizontal movement
Rate Topic:




-
Group:
Member
-
Posts:
336
-
Joined:
04-June 04
Posted 20 November 2004 - 05:28 AM
I am fooling around with the mini weather widget trying to tweak it around a little bit to my liking; however, I am not able to shift the text horizontally at all! I don't understand what I am doing wrong. I am able to shift it vertically, but not horizontal. No matter what values I put in for the horizontal offset, the text does not move. I am pretty much an amature when it comes to scripting widgets, but it shouldn't be this difficult to shift text.
Here is the actual script. I have changed it a bit with different fonts and images. Can someone help me?
off
main_window
101
73
left
255
0
0
backLeft
21
14
backMiddle
60
14
backRight
62
14
degreeSymShadow
Verdana
11
°
#000000
right
94
34
50%
degreeSym
Verdana
11
°
#ffffff
right
83
33
theTempShadow
Verdana
19
?
#000000
right
89
39
50%
theTemp
Verdana
19
?
#ffffff
right
88
38
theCityShadow
Verdana
Unknown
11
#000000
right
92
52
50%
theCity
Verdana
Unknown
11
#ffffff
right
91
51
Sun
0
0
200
waterObject
8
45
0
201
Cloud
26
34
202
updateWeather();
sleep(7000);
updateWeather();
oldUserCity = preferences.userDisplayPref.value;
chooseCity();
Location:
text
Palo Alto, California
You can enter a US zip code, your City, State, or City, Country.
Use Metric Units
checkbox
0
Check this box if you would like your weather displayed in degrees Celsius rather than degrees Fahrenheit.
Show Tooltips
checkbox
1
Check this box if you would like detailed information when hovering over the weather icons.
true
text
USCA0830
Check this box if you would like to show tooltips that give weather details.
Resources/About.png
0
-
Group:
Member
-
Posts:
285
-
Joined:
04-March 03
Posted 20 November 2004 - 06:26 AM
Two things:
1. You might need to alter the alignment as well and
2. Look inside the weather.js file as well.
0
-
Group:
Member
-
Posts:
336
-
Joined:
04-June 04
Posted 20 November 2004 - 06:38 AM
thanks applelover...I am able to adjust the text in the weather.js file!!
0