GUI-Guider 1.6.1 按钮组控件输入输入正文后,仿真显示错误

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

GUI-Guider 1.6.1 按钮组控件输入输入正文后,仿真显示错误

2,286件の閲覧回数
YoungWind
Contributor III

你好!请问按钮组控件中输入中文后,仿真时出现错误,我已经事先已经导入中文字库

,请问这是什么原因呢?

YoungWind_0-1698153187105.png

 

坚持做自己喜欢的事
0 件の賞賛
返信
3 返答(返信)

2,266件の閲覧回数
WenbinYuan
NXP Employee
NXP Employee

Hello @YoungWind ,

For the built-in font 'simsun' which support Chinese is working good with Button and I can see other widgets like Label and Radio button also work well in your project with Chinese.

In this case could you please check the font family for Button is same with Label's or not? this issue may cause by the font used in Button.

 

Best Regards,

Wenbin

0 件の賞賛
返信

2,237件の閲覧回数
YoungWind
Contributor III

按钮组的字体与标签的字体是同一个中文字体库,我尝试添加单个按钮并把按钮里面的字体换成该中文字体库后,仿真后未出错。

但是按钮组的字体在右侧属性中设置后只是预览的时候生效,在仿真时就失效了。

坚持做自己喜欢的事

2,216件の閲覧回数
WenbinYuan
NXP Employee
NXP Employee

Hi @YoungWind ,

Thanks for your detailed information, we have checked this iusse and repoduced your feedback.

This issue that cause few widgets don't support Chinese words has been fixed in next release which is V 1.7.0.

This is the workaround for button matrix use Chinese in V1.6.1:

  1. create a label widget and input all Chinese words you want put into button matrix and select wanted Chinese font family and font size
  2. create button matrix as you want and remind to keep all Chinese words are inside label and same font family and font size
  3. click label name in widgets resource tree which is in the left-bottom of IDE, then click the 'EYE' icon to hide the label.
  4. run the simulator to check the Chinese is display good or not

Hope this solution could help you.

Best Regards,

Wenbin

0 件の賞賛
返信