Describe the bug
If you place a widget, and change its DEFAULT style align to CENTER, the X and Y of the widget stay the same even though the reference has changed - hence causing the widget to move out of its previous location on the screen.
To Reproduce
Steps to reproduce the behavior:
- Create an EEZ Studio LVGL 9.2.2 project.
- Place any widget, the ones I've tried are the label and the button.
- Select the widget and go to its style properties.
- Go to "Main part" then to "DEFAULT".
- Check "Align" and select "CENTER".
- Widget's X and Y remain the same, but the reference has changed - hence causing the widget to move out of its previous location on the screen.
Expected behavior
Upon changing the "Align" and checking it, new X and Y values are calculated so the widget remains in the same screen location.
Desktop (please complete the following information):
LVGL version (if used)
Note
I understand this makes sense if you already have X and Y set to 0, but I am unsure if it's worth the inconvenience.
Disclaimer
Please take into account that the tasks reported here will be processed by the Envox team according to the best effort principle, so adjust your expectations accordingly. However, if you want a more prompt and high-quality response as well as direct contact with technical support, you can choose one of our Support plans.
Describe the bug
If you place a widget, and change its DEFAULT style align to CENTER, the X and Y of the widget stay the same even though the reference has changed - hence causing the widget to move out of its previous location on the screen.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Upon changing the "Align" and checking it, new X and Y values are calculated so the widget remains in the same screen location.
Desktop (please complete the following information):
LVGL version (if used)
Note
I understand this makes sense if you already have X and Y set to 0, but I am unsure if it's worth the inconvenience.
Disclaimer
Please take into account that the tasks reported here will be processed by the Envox team according to the best effort principle, so adjust your expectations accordingly. However, if you want a more prompt and high-quality response as well as direct contact with technical support, you can choose one of our Support plans.