1.9.1中lvgl v9项目中设置文字行高预览无效果

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

1.9.1中lvgl v9项目中设置文字行高预览无效果

487 次查看
iyutong
Contributor I

在最新版本1.9.1中的lvgl v9项目里面设置文字行高没有预览效果,但编译后依然生效,只是在编辑预览时不显示效果

0 项奖励
回复
3 回复数

459 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @iyutong,

Could you please specify what MCU are you using? Also, what setting exactly do you mean? Could you perhaps add some screenshots to illustrate the issue more adequately?

Thanks in advance.

BR,
Edwin.

0 项奖励
回复

448 次查看
iyutong
Contributor I

设置行高,预览没效果 ,编译运行有效果e09a6665-4af2-4a62-bf89-f1f217a8ff9e.png

0 项奖励
回复

413 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @iyutong,

There seems to be an issue with the line spacing when no spaces are added to the text:

EdwinHz_0-1747072616781.png

On the left, there are two texts (one in chinese and one in latin) that have the appropriate spaces, while the texts on the right have the spaces removed. As you can see, when the space characters are removed, the line spacing does not work.

This is not intended, I will report with the GUI Guider team. On the meantime, what you can do to circumvent this issue is add spacings or simply rely on the simulation to align your characters.

BR,
Edwin.

0 项奖励
回复