Quote:
Originally Posted by LoneAngelIbesu
I'm not sure why you need to be finding the width of the text. Split apart the input for every emoticon. Add the first part of the text. Display the emoticon. Add the rest of the text with x=imagex+imagewidth+spacer.
|
Personal preference/knowledge, I guess. I've never really worked with a custom chat system so it just made sense to me that way.