v1.5 Speedometer example, Custom Resolution 320x170 Micropython renders wrongly

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

v1.5 Speedometer example, Custom Resolution 320x170 Micropython renders wrongly

1,827 次查看
tyeth
Contributor I

Create a new simulator project, with the device resolution set to 320x170

Select the example of Speedometer template when offered.

Run the example as micropython code and agree to autogeneration.

Notice the speed label is truncated by the units label, and on the graph page the vertical axis is messed up / truncated. The button label is also incorrectly laid out.

Run the same project as a C project, accept the autogenerated code, and then notice the demo looks as expected, matching the expectations from the designer or from LVGL more closely.

3 回复数

1,739 次查看
WenbinYuan
NXP Employee
NXP Employee

Hello @tyeth,

This issue is caused by different font size between C and MicroPython simulator, there're 2 suggestions for you:

  1. Don't choose a resolution that differ significantly from default resolution(480 * 272) when use MicroPython simulator.
  2. Modify attributes of all labels after when you use MicroPython as major language.

Thank you for your feedback!

Best Regards,

Wenbin

 

0 项奖励
回复

1,787 次查看
CarlosGarabito
NXP TechSupport
NXP TechSupport

hi @tyeth we release a new version of Gui Guider, you can test it and if your error has disappeared, if not, could you give us more information about your board that are you using, MCU, and what is the problem about the MCU and GuiGuider?

Thanks

0 项奖励
回复

1,801 次查看
_Leo_
NXP TechSupport
NXP TechSupport

Can you tell us which MCU are you using please? 

0 项奖励
回复