Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arc widget bug #698

Open
mumuYummoShin opened this issue Jan 13, 2025 · 1 comment
Open

Arc widget bug #698

mumuYummoShin opened this issue Jan 13, 2025 · 1 comment
Assignees
Labels
Milestone

Comments

@mumuYummoShin
Copy link

Describe the bug
Arc widget bug. When I creat an arc, edit Bg start angle by 120, the function lv_arc_set_bg_start_angle did not generate.
And other Bg start angle value will generate function fine.

To Reproduce
Steps to reproduce the behavior:

  1. Create a lvgl flow project by EEZ Studio
  2. Add arc widget to main page
  3. Edit Bg start angle by 120 in arc propeties
  4. The function lv_arc_set_bg_start_angle did not generate in screens.c file

Expected behavior
The function lv_arc_set_bg_start_angle should generate when edit Bg start angle by 120

Screenshots
If applicable, add screenshots to help explain your problem.
2

Desktop:

  • OS: 版本
    Windows 11 家庭中文版
    版本号 24H2
    安装日期 ‎2024/‎12/‎13
    操作系统版本 26100.2605
    体验 Windows 功能体验包 1000.26100.36.0

  • Version
    EEZ Studio 0.21.0

** LVGL version (if used)**

  • 8.3.11
@mvladic mvladic added this to the 0.22.0 milestone Jan 13, 2025
mvladic added a commit that referenced this issue Jan 13, 2025
@mvladic
Copy link
Contributor

mvladic commented Jan 13, 2025

Yes, this is a bug. Default value for the Arc start angle should be 135 not 120. When default value is used then no code to set Bg start angle will be generated. This is now fixed, i.e. we will use 135 as default.

The similar problem exists if Arc end engle is set to 0, i.e. no code will be generated. The default value for end engle is 45, not 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants