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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

117 Views
iyutong
Contributor I

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

0 Kudos
Reply
3 Replies

89 Views
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 Kudos
Reply

78 Views
iyutong
Contributor I

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

0 Kudos
Reply

43 Views
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 Kudos
Reply