Welcome, Guest
Please Login or Register.    Lost Password?

TOP-LEFT align does not work as suggested?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: TOP-LEFT align does not work as suggested?
#7793
TOP-LEFT align does not work as suggested? 5 Years, 6 Months ago  
I'm trying out the XML skin example in the help file. When I'm to align the month the text appears to the left of the calendar window with only the last 5 pixels visible.

I played around with TOP-LEFT and TOP-RIGHT for both the month and year fields and found that these attributes did not work as documented, i.e. really weird.

Can anyone shine som light on this? What am I doing wrong?

XP SP2 running Rainlendar lite 2.4 b64

Regards,
Tomas Sandkvist
Sweden
tomassan
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#7794
Re:TOP-LEFT align does not work as suggested? 5 Years, 6 Months ago  
Solved!

It seems as if the example in the Rainlendar help is missing out on some important stuff. This is the declaration in the help file:

Code:


month id="Calendar.month" element="font.large" x="5" y="5" align="TOP-LEFT" 



...and this is the one that works:

Code:

month id="Calendar.month" element="font.normal" origin="TOP-LEFT" x="5" y="5" align="TOP-LEFT" 


...that is, the help file should be updated, adding the origin="TOP-LEFT" attribute. Also there seems to be a case of case sensitivity, using uppercase for the align attribute (as done in the first code example in the help file) also makes the element go of the screen. The origin attribute seems not to be case sensitive.

Regards,
Tomas Sandkvist
Sweden
tomassan
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2008/10/23 07:48 By tomassan.Reason: Added information
The administrator has disabled public write access.
 
#7830
Re:TOP-LEFT align does not work as suggested? 5 Years, 5 Months ago  
The TOP-LEFT is the default value for the origin so it shouldn't be necessary to define it. At least the month in the Chromophore's calendar window works fine without it too.
Rainy
Moderator
Posts: 5804
graph
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