View Single Post
Temporal's Avatar
Posts: 323 | Thanked: 189 times | Joined on Oct 2010 @ Brazil
#654
Originally Posted by manifesto42 View Post
i am trying to create a lockscreen suited to my quirky needs but i have a (probably) stupid question.

with sizeL="370;300" what do the numbers mean?
i cant find an answer anywhere. i thought it might mean horizontal and vertical size, but if i change the values on existing lockscreens, it doesnt seem to behave like that.
and in posL the numbers are x;y, correct?

i am writing this and testing the lockscreen ini on my n900, so forgive mispelings and lack of dexterity to find answer to my question. :-) thanks
The sizeL or sizeP don't stretch the thing they "hold". So, if you have, let's say, an image 100x100 and you say size=50;50, it will show just the 50;50 of the 100;100 (1 fourth) of that image. By the same account, if you say size=200x200 to an 100x100 image, it will show all the image, but the image will have a span of 200x200. What I mean by that?
If, for instance, you apply the size alias to a button like the media buttons, like, pos=0,0 and size=800x480, but the button size is only 100x100 this will happen:
1)The picture will be shown at the position 0,0 spanning 100 to left and 100 to bottom (as expected, it will be in the top left);
2)Because of the size chosen, the ENTIRE screen will react as that button (of course, this may not be true unless this is the first widget drawn, because all the other widgets would have a preference over that one, but if it is the last, the entire screen will be just a big button, nothing else would be able to react).

I hope I was able to make it clear |:)
__________________
Love and Goodness are not a property. Are not a franchising. They are present in each one of us, and must be cultivated with KNOWLEDGE.
 

The Following User Says Thank You to Temporal For This Useful Post: