View Single Post
  #1  
Old 10-19-2008, 06:22 PM
qhero qhero is offline
Registered Member
 
Join Date: Oct 2008
Posts: 1
Question What's the rich client platform used in this game?

I were trying to translate the chat part of the game to chinese( utf-8 ), when I found that the all the text box in the game can't auto change lin, If the word symbol at the end of line is the double size of a normal english character。For example, chinese and japanese words. The sentence will continue on and disppear because the text box got only vertical scrollbar.

I also check the templates.lng and found out that the UI config of this game is something like RCP of eclipse. But I don't know what's the rich client platform used in this game, so I can't add the horizontal scrollbar nor add some tags that will slove the auto change line problem.

Any help or suggestion from anyone will be appreciate.

--------------------------------------------------------

I guess that the text box in the game won't break up a vocabulary, it will search for a " " or a "," to change the rest of the sentence to the next line. So if I use chinese instead of english there wiil be no chance to have a " ". The only way I am using to fix the problem is to add <br> to the chat text everytime after 27 chinese character.

Last edited by qhero; 10-20-2008 at 05:55 AM.
Reply With Quote