关于gui guider的组件列表list编辑界面跟运行界面不一致

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

关于gui guider的组件列表list编辑界面跟运行界面不一致

716 次查看
wsx1316548790
Contributor I

第一就是项的问题,选择图片和文件的组合,但是他们运行后上上水平对齐,不是中间水平对齐

第二就是编辑ui的大小与实际模拟运行后大小不一样

左边的是运行后的,右边的是运行前

wsx1316548790_0-1723277161483.png

wsx1316548790_2-1723277322680.png

 

 

 

标记 (1)
0 项奖励
回复
3 回复数

677 次查看
WenbinYuan
NXP Employee
NXP Employee

Hi @wsx1316548790,

 

Thanks for your feedback, and I suggest you to select images of same size and set its to a reasonable and uniform size within the list. If the image is set too large, it will cause misalignment between the text and the image.

we will trying to improve the different effect between simulator and editor in the future release.

 

Best Regards,

Wenbin

0 项奖励
回复

671 次查看
wsx1316548790
Contributor I

这个组件大小是正确的,第一个问题应该是那么图片和文字的布局方式是上水平对齐,上水平对齐,不是中间水平对齐,模拟器是仿真的时候是支持中间的,

第二个问题就很怪异,我用最新版本和其他版本都是这个情况,可能是个bug

0 项奖励
回复

645 次查看
WenbinYuan
NXP Employee
NXP Employee

Hi @wsx1316548790,

 

The first issue is caused by the LVGL List widget, which by default has no alignment configuration for button content, so if your image size is too big or too small compared to the text font size, the alignment will look weird.

We will try to fix the alignment of list button content to center alignment, thanks for your feedback.

 

the second issue is caused by the text font, there're some difference between Simulator and editor when the widget size related with font size, and we are continuously improving this issue.

 

Best Regards,

Wenbin

0 项奖励
回复