Profile: Ayumi Yonosa (yonosa)
21 comments | |
1 xtras |
Latest comments
# by yonosa on 09/28/09 at 17:16:26
I'm not sure I understand what you want to do. Do you want to merely justify the
text (i.e. left and right align it)? Or just having it right aligned but ragged-left?
Anyway, you'll have to edit the file:
1337.AdiumMessageStyle/Contents/Resources/main.css
to change:
.outgoing .message {
text-align:left;
to:
.outgoing .message {
text-align:right; /* or text-align:justify; depending on your needs */
Of course, you'll have to do the same thing for:
.incoming .message
And:
.contextincoming .message
.contextoutgoing .message
while you're at it.
Hope that helps,
Ayumi
text (i.e. left and right align it)? Or just having it right aligned but ragged-left?
Anyway, you'll have to edit the file:
1337.AdiumMessageStyle/Contents/Resources/main.css
to change:
.outgoing .message {
text-align:left;
to:
.outgoing .message {
text-align:right; /* or text-align:justify; depending on your needs */
Of course, you'll have to do the same thing for:
.incoming .message
And:
.contextincoming .message
.contextoutgoing .message
while you're at it.
Hope that helps,
Ayumi
# by yonosa on 12/15/08 at 14:30:29
Open the file 1337.AdiumMessageStyle/Contents/Resources/Template.html and change the line:
var maxlength = 12;
to something like
var maxlength = 24;
or more depending on the number of letter in your name. Also, use one of the "wide" variations. But I think things will look quite messy since what I wanted to do with this theme was to have properly aligned messages.
So anyway, try this at your own risk!
Oh and by the way, when was your message written? August 2008? Oh well... better late than never? :-)
Cheers,
Ayumi
var maxlength = 12;
to something like
var maxlength = 24;
or more depending on the number of letter in your name. Also, use one of the "wide" variations. But I think things will look quite messy since what I wanted to do with this theme was to have properly aligned messages.
So anyway, try this at your own risk!
Oh and by the way, when was your message written? August 2008? Oh well... better late than never? :-)
Cheers,
Ayumi
# by yonosa on 12/09/09 at 09:54:03
I added a very simple ECMAScript function called truncate (how original) in the Template.html file. This function is then called in the appendMessage function to replace a temporary place holder by the truncated name.
Have a look at the Template.html file. It's all in there!
Cheers,
Ayumi