pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gkbr...@mac.com>
Subject Re: center the text of header columns of tableView
Date Wed, 04 Aug 2010 11:26:53 GMT
Try setting a new TableViewHeaderDataRenderer on your TableViewHeader:

<TableViewHeader tableView="$resultSearchPerson" sortMode="multi_column">
    <dataRenderer>
        <TableViewHeaderDataRenderer styles="{horizontalAlignment:'center'}"/>
    </dataRenderer>
</TableViewHeader>

On Aug 4, 2010, at 5:42 AM, Duto wrote:

> 
> I am trying to center the text of header columns of TableView :
> 
> <columnHeader>
>   <TableViewHeader tableView="$resultSearchPerson" sortMode="multi_column"
> styles="{horizontalAlignment:'center'}"/>
> </columnHeader>
> 
> but there is no effect ?
> 
> regards,
> 
> Duto
> 
> 
> -- 
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/center-the-text-of-header-columns-of-tableView-tp1022087p1022087.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.


Mime
View raw message