you need to tell the vertical panel how much space each cell should have in relation to its siblings. something like: vert.setCellHeight(scrollpanel, "100%") then the scrollpanel will fill out as much space as you can.
What i suspect that you will find next is that scollpanel doesnt do what you think it will do unless it has an absolute size instead of a relative one. I wrote a solution for it in the showcase example, but havent actually pushed it into the git thing yet. maybe next week when i get back to london. if you need it let me know and ill just paste it in here G On Mon, Dec 5, 2011 at 5:23 AM, Jesse Vander Does <[email protected]> wrote: > I am having some trouble getting the layout I would like, I suspect I am > missing something fundamental about how to use pyjs widgets. I am using a > vertical layout with a label set to a fixed height on the top and a scroll > panel containing a table bellow. The scroll panel and table should resize > to fill what the header does not. > > The problem is that even though the header is set to a fixed number of > pixels and the scroll table is set to a width/height of 100%, the vertical > panel seems to give each widget 50% of the screen. What am I missing? > > Thanks for the help. > > Regards, > Jesse -- ■ ■ ■ ■ ■ ■ ■ ■ ■ ■

