No, it's not a bug. It is done that way so headers that contain only an icon
will be centered, but icon+text or text only will be left-aligned.
On Aug 4, 2010, at 4:53 PM, Duto wrote:
>
> I found this process too^^ :
>
> src : TableViewHeaderDataRenderer
>
> 76: // Left-align the content
> 77: getStyles().put("horizontalAlignment", (text == null) ?
> 78: HorizontalAlignment.CENTER : HorizontalAlignment.LEFT);
>
> Why It's do like that ? It's a bug or ... ?
>
> Best regards
>
> Duto
> --
> View this message in context:
> http://apache-pivot-users.399431.n3.nabble.com/center-the-text-of-header-columns-of-tableView-tp1022087p1023905.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.