You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by Luiz Gustavo <lu...@gmail.com> on 2010/12/20 00:37:34 UTC

missing lines in TableView header rendering

Hi,

Why the missing lines (both sides and top) in the rendering of the
TableView's header in the image attached?

Here's the bxml fragment:


<TablePane.Row height="1*">
                    <Border title="%grpDespesasDia" styles="{padding:8}">
                        <ScrollPane>
                            <TableView bxml:id="lancamentosDetalheView">
                                <columns>
                                    <TableView.Column name="valor"
width="80" headerData="%clnValor"/>
                                    <TableView.Column name="descricao"
width="290" headerData="%clnDescricao"/>
                                    <TableView.Column name="tipoImg"
width="80" headerData="%clnTipo">
                                        <cellRenderer>

<content:TableViewImageCellRenderer/>
                                        </cellRenderer>
                                    </TableView.Column>

                                    <TableView.Column name="conciliadoImg"
width="80" headerData="%clnConciliado">
                                        <cellRenderer>

<content:TableViewImageCellRenderer/>
                                        </cellRenderer>
                                    </TableView.Column>
                                    <TableView.Column name="saldo"
width="80" headerData="%clnSaldo"/>
                                </columns>
                            </TableView>
                            <columnHeader>
                                <TableViewHeader
tableView="$lancamentosDetalheView"/>
                            </columnHeader>
                        </ScrollPane>
                    </Border>
                </TablePane.Row>



Cheers,

Luiz Gustavo S. de Souza

http://luizgustavoss.wordpress.com
http://luizgustavoss.blogspot.com
http://twitter.com/lugustso

Re: missing lines in TableView header rendering

Posted by Greg Brown <gk...@verizon.net>.
Try nesting the TableView in a Border with 0 padding.

On Dec 19, 2010, at 6:37 PM, Luiz Gustavo wrote:

> Hi,
> 
> Why the missing lines (both sides and top) in the rendering of the TableView's header in the image attached?
> 
> Here's the bxml fragment:
> 
> 
> <TablePane.Row height="1*">            
>                     <Border title="%grpDespesasDia" styles="{padding:8}">
>                         <ScrollPane>
>                             <TableView bxml:id="lancamentosDetalheView">
>                                 <columns>                                
>                                     <TableView.Column name="valor" width="80" headerData="%clnValor"/>
>                                     <TableView.Column name="descricao" width="290" headerData="%clnDescricao"/>
>                                     <TableView.Column name="tipoImg" width="80" headerData="%clnTipo">
>                                         <cellRenderer>
>                                             <content:TableViewImageCellRenderer/>
>                                         </cellRenderer>
>                                     </TableView.Column>                                
>                                     <TableView.Column name="conciliadoImg" width="80" headerData="%clnConciliado">
>                                         <cellRenderer>
>                                             <content:TableViewImageCellRenderer/>
>                                         </cellRenderer>
>                                     </TableView.Column>
>                                     <TableView.Column name="saldo" width="80" headerData="%clnSaldo"/>
>                                 </columns>
>                             </TableView>
>                             <columnHeader>
>                                 <TableViewHeader tableView="$lancamentosDetalheView"/>
>                             </columnHeader>
>                         </ScrollPane>
>                     </Border>                        
>                 </TablePane.Row>
> 
> 
> 
> Cheers,
> 
> Luiz Gustavo S. de Souza
> 
> http://luizgustavoss.wordpress.com
> http://luizgustavoss.blogspot.com
> http://twitter.com/lugustso
> <frame.png>