CodeRAD
CodeRAD copied to clipboard
Custom layout for EntityEditor
EntityEditor is a Container and theoretically I can set a custom layout for the container. However, my settings are ignored and some predefined layouts are used depending on what content is being rendered.
It would be very useful to be able to set a custom layouts for rendering EntityList.
My use case is to display list of files (images) and the best option would be GridLayout with 2 or 3 columns.
Could you please consider adding either a setting custom layout or just support for GridLayout for rendering EntityList?
This should be doable. EntityListView keeps its rows in an internal wrapper. I can expose this both directly (setRowsLayout(Layout)) and via a view parameter so that it can be configured through EntityEditor (UI.param(EntityListView.GRID_LAYOUT)).
I have some pending changes in CodeRAD that I'm cleaning up right now. Probably looking at Monday to implement this.
Awesome! Thank you.