Hello,

I am trying to place a TablePane in a ScrollPane. The goal is add scroll
bars to a large table the grows outside of the window. I can't use a
TableView because the table contains PushButtons and I don't believe
TableView is a container. My set up is below. the problem with this is the
TablePane never shows up. The object is being initialized and even populated
but all you see is an empty white ScrollPane. Any suggestions would be
appreciated. I am using pivot 1.5, btw.

<ScrollPane  verticalScrollBarPolicy="auto" >
                        <TablePane TablePane.columnSpan="2" wtkx:id="packages"
styles="{horizontalSpacing:10, showHorizontalGridLines:true,
verticalSpacing:1, showVerticalGridLines:true}">                                
                                <columns>
                                        <TablePane.Column width="3*" />
                                        <TablePane.Column width="3*" />
                                        <TablePane.Column width="2*" />
                                        <TablePane.Column width="6*" />
                                        <TablePane.Column width="2*" />
                                        <TablePane.Column width="2*" />
                                </columns>
                                <rows>
                                        <TablePane.Row height="-1" 
highlighted="true">
                                                        <Label text="Package 
Name" />
                                                        <Label text="Time 
Created" />
                                                        <Label text="Order 
Status" />
                                                        <Label text="Package 
URL" />
                                                        <Label text="Copy" />
                                                        <Label text="Delete" />
                                        </TablePane.Row>
                                </rows>
                        </TablePane>
                </ScrollPane>



The hierarchy of the view looks like this:

<TablePane>
   <CardPane>
      <TablePane>
         <ScrollPane>
            <TablePane>
                  content, pushbuttons, etc...
            </TablePane>
         </ScrollPane>
      </TablePane>
   </CardPane>
<TablePane>

--
View this message in context: 
http://apache-pivot-users.399431.n3.nabble.com/TablePane-in-ScrollPane-tp2875477p2875477.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to