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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,842件の閲覧回数
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,754件の閲覧回数
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,802件の閲覧回数
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,816件の閲覧回数
_Leo_
NXP TechSupport
NXP TechSupport

Can you tell us which MCU are you using please? 

0 件の賞賛
返信