Become a leader in the IoT community!

New DevHeads get a 320-point leaderboard boost when joining the DevHeads IoT Integration Community. In addition to learning and advising, active community leaders are rewarded with community recognition and free tech stuff. Start your Legendary Collaboration now!

Step 1 of 5

CREATE YOUR PROFILE *Required

Change Email
OR
Step 2 of 5

WHAT BRINGS YOU TO DEVHEADS? *Choose 1 or more

Collaboration & Work ๐Ÿค
Learn & Grow ๐Ÿ“š
Contribute Experience & Expertise ๐Ÿ”ง
Step 3 of 5

WHAT'S YOUR INTEREST OR EXPERTISE? *Choose 1 or more

Hardware & Design ๐Ÿ’ก
Embedded Software ๐Ÿ’ป
Edge Networking โšก
Step 4 of 5

Personalize your profile

Step 5 of 5

Read & agree to our COMMUNITY RULES

  1. We want this server to be a welcoming space! Treat everyone with respect. Absolutely no harassment, witch hunting, sexism, racism, or hate speech will be tolerated.
  2. If you see something against the rules or something that makes you feel unsafe, let staff know by messaging @admin in the "support-tickets" tab in the Live DevChat menu.
  3. No age-restricted, obscene or NSFW content. This includes text, images, or links featuring nudity, sex, hard violence, or other graphically disturbing content.
  4. No spam. This includes DMing fellow members.
  5. You must be over the age of 18 years old to participate in our community.
  6. Our community uses Answer Overflow to index content on the web. By posting in this channel your messages will be indexed on the worldwide web to help others find answers.
  7. You agree to our Terms of Service (https://www.devheads.io/terms-of-service/) and Privacy Policy (https://www.devheads.io/privacy-policy)
By clicking "Finish", you have read and agreed to the our Terms of Service and Privacy Policy.

in LVGL, how do we add a style on arc’s indicator part?

Hey guys,
in LVGL,
how do we add a style on arc’s indicator part?

  1. ZacckOsiemo#0000

    @undefined2001 have you done any design stuff for LVGl

  2. undefined.elf#0000

    I did some design with ez studio

  3. ZacckOsiemo#0000

    Oh yes! @fbiego6893 also told me of one such studios just escape a my mind

  4. undefined.elf#0000
  5. undefined.elf#0000

    I also wrote some style stuff

  6. undefined.elf#0000

    squareline studio worked for many years but nowadays they have became commercial

  7. melta101#0000

    every good tech ever..

  8. melta101#0000

    just saw briefly,
    doesnt seem like there is a part where it is adding the style on arc itself, is it?

  9. undefined.elf#0000

    what style you want in a arc?

  10. melta101#0000

    lets start with a gradient on the indicator

  11. melta101#0000

    remove the main and knob

  12. undefined.elf#0000

    I would recommend to try ez studio rather thar hardcode things

  13. melta101#0000

    2nd part is easy
    1st is where i was stuck

  14. melta101#0000

    let me look at that

  15. undefined.elf#0000

    also you can check volos project on youtube

  16. undefined.elf#0000

    he makes some insane designs with lvgl

  17. melta101#0000

    ah yes
    i follow him

  18. melta101#0000

    but if i remember
    he uses squareline

  19. melta101#0000

    yep he uses..

  20. undefined.elf#0000

  21. melta101#0000

    yep
    similar styling properties

  22. undefined.elf#0000

    I may buy one board with display wiring each time is like hell

  23. ZacckOsiemo#0000

    You donโ€™t need another board

  24. undefined.elf#0000

    yes. if I want to use wire every time

  25. undefined.elf#0000

    Luckily some display uses serial communication

  26. undefined.elf#0000

    canโ€™t even imagine wiring a parallel display each time I use

  27. melta101#0000

    there is a deprecated widget that could do what i want

  28. melta101#0000

    but it axed post 8.x

  29. melta101#0000

    just saw from eez studio

  30. melta101#0000

    seems like they are using a image to make that effect

  31. melta101#0000

    @undefined2001 got the reverse done
    where the Main has the image
    0image.png

  32. melta101#0000

    but nothing seems to have the indicator, the image set
    0image.png

  33. melta101#0000

    lol
    it used to be simple
    where we create a gradient style

  34. melta101#0000

    and then add it the object

  35. undefined2001#0000

    In the past?

  36. melta101#0000

    yea

  37. undefined2001#0000

    which display are you using

  38. undefined2001#0000

    it looks really crisp

  39. melta101#0000

    my laptop

  40. melta101#0000

    ๐Ÿซ 

  41. undefined2001#0000

    in the eez studio?

  42. melta101#0000

    nope

  43. undefined2001#0000

    emulator or native desktop?

  44. melta101#0000

    native desktop
    its a plain old simulator

  45. undefined2001#0000

    name?

  46. melta101#0000

    its a vscode plugin

  47. undefined2001#0000

    I didnโ€™t know that๐Ÿฅฒ

  48. melta101#0000

    lvgl project creator

  49. melta101#0000

    we prototype on that

  50. melta101#0000

    then move to HW

  51. undefined2001#0000

    you have to compile for any specific architecture?

  52. melta101#0000

    nope

  53. melta101#0000

    debugging by gdb

  54. melta101#0000

    build done by cmake

  55. melta101#0000

    well for me its lldb as gdb doesnt exist in mac

  56. melta101#0000

    @superbike_z any inputs?

  57. melta101#0000

    seem like squareline also isnt able to do that

  58. superbike_z#0000

    Help me understand the context again please

  59. superbike_z#0000

    what do you need to achieve

  60. melta101#0000

    trying to style the bar in an arc as gradient

  61. melta101#0000

    hey @undefined2001 ,
    i was able to get it to work
    image.png

  62. melta101#0000

    image.png

  63. melta101#0000

    ggez

  64. undefined2001#0000

    adjusting width would be better

  65. undefined2001#0000

    for a better looks

  66. melta101#0000

    this was just poc

  67. melta101#0000

    wait a sec

  68. undefined2001#0000

    are you making a speedometer?

  69. melta101#0000

    yea