You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
It's possible I'm missing something, but when using the List widget in Dashboard projects, objects in the list do not seem respect horizontal or vertical alignment and are always top-left justified. Perhaps I'm missing something?
To Reproduce
Steps to reproduce the behavior:
Create a new dashboard project.
Create a local array:string variable with a few entries as default value (ex: ["Option 1", "Option 2", "Option 3"])
Drop a List object onto the page. Enlarge it to match the page size (ex: 900x600)
Configure the Data property of the List object to use the string array. Set a gap of 10.
In the Style properties of the default container created inside the list object, set a background color other than white so it is visible.
In the Style properties of the list object, change the vertical/horizontal alignment to any value besides top/left.
Switch to the Run tab. The container objects inside the list object do not follow the alignment setting.
Expected behavior
Objects within lists should respect the vertical/horizontal alignment setting or have another method to set alignment.
Screenshots
Desktop (please complete the following information):
OS: Windows 10 Pro
Version 0.18.12 and older (not tested below 0.17.0
** LVGL version (if used)**
N/A
Additional context
Off topic, but I am extremely impressed so far with this GUI builder and the slick Flex block programming, it's been a joy to learn and use. I hope the standalone dashboard compiler gets fleshed out and integrated into the main Studio interface at some point, this could really be a game changer for high end HMI projects!
The text was updated successfully, but these errors were encountered:
We should allow using CSS not only for styling widgets but also for positioning, alignment, etc in the Container, List and Grid widgets. That means, instead of only absolute positioning child widgets it should also be possible to use display: flex, display: grid, etc...
Describe the bug
It's possible I'm missing something, but when using the List widget in Dashboard projects, objects in the list do not seem respect horizontal or vertical alignment and are always top-left justified. Perhaps I'm missing something?
To Reproduce
Steps to reproduce the behavior:
["Option 1", "Option 2", "Option 3"]
)Expected behavior
Objects within lists should respect the vertical/horizontal alignment setting or have another method to set alignment.
Screenshots
Desktop (please complete the following information):
** LVGL version (if used)**
N/A
Additional context
Off topic, but I am extremely impressed so far with this GUI builder and the slick Flex block programming, it's been a joy to learn and use. I hope the standalone dashboard compiler gets fleshed out and integrated into the main Studio interface at some point, this could really be a game changer for high end HMI projects!
The text was updated successfully, but these errors were encountered: