hello,
i've planned to add a calendar in my skin but i've noticed that the justification parameter (the last one of the command) doesn't seem to work.
does someone had the same problem ?
is there another solution to align the day numbers correctly ?
thanks in advance,
Nicolas.
Note : sorry for my poor english ! :wink:
calibra:
Based on my understanding, there are two ways in calendar code:
1) No frame or box aound the day: (Hammerskin)
calendar,0,0,232,36,26,20,l
2) With frame or box (HandPlus.011 Basic)
calendar,0,0,151,12,12,10,box.png,tc
In 1) the "l" was alignment for the day number, and in 2) "t" was for transparency for image (box.png) background and "c" for day alignment.
Hopefully, this help. If I am wrong, please correct me.. :wink:
Quote from: uk_skinnercalibra:
Based on my understanding, there are two ways in calendar code:
1) No frame or box aound the day: (Hammerskin)
calendar,0,0,232,36,26,20,l
2) With frame or box (HandPlus.011 Basic)
calendar,0,0,151,12,12,10,box.png,tc
In 1) the "l" was alignment for the day number, and in 2) "t" was for transparency for image (box.png) background and "c" for day alignment.
Hopefully, this help. If I am wrong, please correct me.. :wink:
uk_skinner : thanks for your help, it's very nice ! :D
my problem is that the justification command doesn't seem to work.
calendar,0,0,232,36,26,20,l
-> the "l" caracter does change anything. very strange isn't it ? or maybe i'm wrong !
i mean, in hammerskin, caracters seem to be centered, although there is a "l" at the end of the calendar command ! :? strange ! :wink:
Quote from: calibrai mean, in hammerskin, caracters seem to be centered, although there is a "l" at the end of the calendar command ! :? strange ! :wink:
calibra:
After some testing, you were right. The letter seemed does not have any function. Even I used double width and no "r/c/l", the numbers always aligned at the right side. :think: :knownot:
yes it's very very strange !
my objective was to align these caracters like this :
(http://www.jgui.net/phoneprofiles/windowscolors_1l.jpg)
note : this is the calendar of a software from www.jgui.net - and it's what I've wanted to do ! :?
I don't know what for problems have at all there. This is very simple anyway.
In the left picture you see the Orginal code: calendar,0,0,116,18,13,10,l
In the right picture the changed: calendar,0,0,116,18,23,10,l
Of course you must puzzle a little there. But then, you already get this to.
Quote from: WichtelI don't know what for problems have at all there. This is very simple anyway.
In the left picture you see the Orginal code: calendar,0,0,116,18,13,10,l
In the right picture the changed: calendar,0,0,116,18,23,10,l
Of course you must puzzle a little there. But then, you already get this to.
Wichtel:
DId you notice that they all aligned at the right side even you used "l"?
Quote from: uk_skinnerQuote from: WichtelI don't know what for problems have at all there. This is very simple anyway.
In the left picture you see the Orginal code: calendar,0,0,116,18,13,10,l
In the right picture the changed: calendar,0,0,116,18,23,10,l
Of course you must puzzle a little there. But then, you already get this to.
Wichtel:
DId you notice that they all aligned at the right side even you used "l"?
oh I tought they were aligned at center ! :?
i mean, you ask todayplus to start at x = 135 (by example) but the caracters start on or two pixels after !
I think this we have met here with a Bug in TodayPlus. I just have tried everything out (l,r,c and nothing) and it yielded no change. It sees so out as if everything were prepared for C. Then also would explain the 4-5 pixels to themselves by which the 1st row is moved.
YEAH ! I've found a bug ! :D :roll: :cry:
pas chouette comme on dit chez nous !
is there a way to by pass this ? (by adding offset somewhere)
Quote from: WichtelI think this we have met here with a Bug in TodayPlus. I just have tried everything out (l,r,c and nothing) and it yielded no change. It sees so out as if everything were prepared for C. Then also would explain the 4-5 pixels to themselves by which the 1st row is moved.
I agree!! Just one more things go to the list of "Please come back ssr!!" :pray: :pray: :pray:
Quote from: calibraYEAH ! I've found a bug ! :D :roll: :cry:
pas chouette comme on dit chez nous !
is there a way to by pass this ? (by adding offset somewhere)
This is actually not the slightest problem. You must move only the calendar and the calendar header against each other. And it already must work.
sorry my english isn't perfect and I don't understand what you said !
sorry !