How to align header label in AlfListView in Aikau?

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member II

How to align header label in AlfListView in Aikau?

Jump to solution

How could i align label text in header to center in such Aikau widget? Unfortunately, I can't just write align: "center".
{
name: "alfresco/lists/views/AlfListView",
config: {
additionalCssClasses: "bordered",
widgetsForHeader: [
{
name: "alfresco/lists/views/layouts/HeaderCell",
config: {
//align: "center",
label: "Files"
}
}
],
widgets: [...]

}}

1 Solution

Accepted Solutions
Highlighted
Master

Re: How to align header label in AlfListView in Aikau?

Jump to solution

Every Aikau widget supports a "style" configuration parameter which can be used to define element-level CSS styles. So you could use that to define the CSS style "vertical-align: middle;text-align: center;"

View solution in original post

1 Reply
Highlighted
Master

Re: How to align header label in AlfListView in Aikau?

Jump to solution

Every Aikau widget supports a "style" configuration parameter which can be used to define element-level CSS styles. So you could use that to define the CSS style "vertical-align: middle;text-align: center;"

View solution in original post