studio icon indicating copy to clipboard operation
studio copied to clipboard

[LVGL] Roller Misalignment When Generating Options from Expression

Open enrip19 opened this issue 1 month ago • 7 comments

Describe the bug The roller jumps out when trying to select an option. It only happens when the options are generated from an expression. It is an attached video which shows the bug behavior

To Reproduce Steps to reproduce the behavior:

  1. Add a roller widget
  2. Add a "values" array::integer and fill it of numbers from 1 to 15
  3. In its configuration, got to Specific->Options and select Expression in the selector. In the expression box write "values"
  4. Run the program
  5. See error

Expected behavior The roller should work smoothly to select the options available.

Screenshots image

https://github.com/eez-open/studio/assets/62597166/3fdc7ac5-ebc5-4991-a817-019a61e44e1f

Desktop :

  • OS: Windows 11
  • Browser: Microsoft Edge
  • Version: 0.13.1

Additional context

  • I am using LVG with EEZ-Flow framework.
  • This buggy behavior happens with any expression and array type you try.

enrip19 avatar May 17 '24 10:05 enrip19