"AutoSize" property not support Chinese charactors

0
0

While set “AutoSize=True” property to controls such like Button,

Control size calculation is not correct if Text is Chinese charactors ( I guess other East Asia languages might have same problem).

Please see attachment picture.

  • You must to post comments
0
0

Please find VS project in attachment zip file.

VS Extend version: 4.0.2

Wisej framework nuget package version: Wisej-4 (4.0.3 preview 17)

I have tried to run same project with Wisej-3.5, it is better than Wisej-4, Chinese text of CheckBox and RadioButton can be fully shown. But text still wrap.

Text wrap is also a critical problem because Chinese language also need some charactor combination to explain some meaning.

For example: “确定” means “Ok”, but it is shown in Button as :

Just like english

O

k

It seems very strange.

 

And another bug to report:

A control (such like a button) locates in TableLayoutPanel which has a couple of cells, while pressing Ctrl key, and use mouse left button to drag it from a cell to another cell, I expect to clone a control in target cell. But a error (index duplicated) will occur actually. But if drag it to a location not in this TableLayoutPanel, it will be performed normally.

This bug is in both Wisej-3.5 and Wisej-4.

  • andy wang
    Remark: I am same company college member of user RL C.
  • You must to post comments
0
0

What version of Wisej are you using?

Please attach a reproducible test case. Delete the bin and obj folders before posting.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.