In D5, I've added translation routines to my software to translate English to other languages.  I'm having a little trouble with Chinese.  Most label captions are being truncated even though they are set to AutoSize and there is plenty of room to grow.  Also in automatically generated forms such as InputQuery, the caption is being truncated.
 
I suspect there is something wrong with the procedure TCustomLabel.AdjustBounds in the StdCtrls unit, and the function GetAveCharSize in the Dialogs unit, but I'm not sure what to do to fix it.  Any ideas?
 
Hmmm.  Perhaps the translator could put an extra space or 2 after all the translated strings?

 
Cheers,
 
Ross Levis
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to