Hi Brendan,
just committed a (bxml only) minimal test for this, derived form yours
... but to me all seems good.

The file is both under 2.0.x maintenance branch, and under trunk:

/tests/src/org/apache/pivot/tests/card_pane_with_tableview_test.bxml

Note that at the end (as in your example) there is this:

            <columnHeader>
                <TableViewHeader tableView="$cardElement2" />
            </columnHeader>

that could be the cause of your problems ...


> The empty space get extended to contain both tableview.
> I think this is also bug as different pane in card pane should completely 
> isolated.
> One tableview size should have no affect on the other tableview.
I'm not sure for this ... CardPane need to know the dimensions of all
its contents, for layout purposes.
But there is the boolean skin style sizeToSelection, try to change it.

Try even with the CardPane outside, and ScrollPane inside with related
TableView.


Can you try it and give me some feedback ?

Thanks,
Sandro

Reply via email to