cancel
Showing results for 
Search instead for 
Did you mean: 

How to align header label in AlfListView in Aikau?

npavlov
Confirmed Champ
Confirmed Champ

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 ACCEPTED ANSWER

afaust
Legendary Innovator
Legendary Innovator

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 answer in original post

1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator

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;"