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

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

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

1,032 Views
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 Replies

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

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

1,006 Views
_Leo_
NXP TechSupport
NXP TechSupport

Can you tell us which MCU are you using please? 

0 Kudos
Reply