Page 1 of 1

VCL - Ribbon button caption end with dot in Thai language

Posted: Fri Nov 24, 2017 8:06 am
by Giuseppe
Hi,

we got worng caption in ribbon button (TdxBarLargeButton)
that is truncated ending with dot just for Thai language.

For example:
"ราย�ารรถยนต์" is displayed "ราย�า..."
"ช่วยเหลือ" is displayed "ช่วย..."

We are using THAI_CHARSET and font Arial Unicode MS

Any idea?
Thanks

Enviroment and components:
Delphi XE2
TSILang Component Suite v6.5.5
DevExpress.v2011.1.8.

Posted: Fri Nov 24, 2017 10:24 am
by isiticov
Hello,

This might be just a ribbon control behavior. The caption may be wider than the button width and it is truncated to fit the available area. TsiLang doesn't convert any values to "end-ellipses".

Posted: Fri Nov 24, 2017 11:08 am
by Giuseppe
Thanks for the quick response.
The buttons automatically expand and work properly in other languages (Russian, Slovak, Simplified Chinese).
However, also by setting a fixed width the result does not change.
It's likely that the problem is not related to your components, but I thought you already had to deal with this issue.