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

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

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

896 Views
wsx1316548790
Contributor I

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

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

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

wsx1316548790_0-1723277161483.png

wsx1316548790_2-1723277322680.png

 

 

 

Tags (1)
0 Kudos
Reply
3 Replies

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

851 Views
wsx1316548790
Contributor I

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

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

0 Kudos
Reply

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