0

Currently I have this code:

<s:DefaultGridHeaderRenderer maxDisplayedLines="2" textAlign="center"/>

But it's not working, even though I have textAlign="center"! Thanks for any help.

zero323
  • 322,348
  • 103
  • 959
  • 935
user940016
  • 2,878
  • 7
  • 35
  • 56

1 Answers1

1

Make your own <s:DefaultGridHeaderRenderer /> and add/edit below line to get center aligned header.

<s:Label id="labelDisplay" 
            verticalCenter="1" left="0" right="0" top="0" bottom="0"
            textAlign="center"
            fontWeight="bold"
            verticalAlign="middle"
            maxDisplayedLines="1"
            showTruncationTip="true" />
Asad
  • 1,817
  • 16
  • 23