Open MatinatorX opened 1 week ago
List orientation can't be controlled with the CSS. You should use "List type" property:
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!