Domanda

I have a CellTable widget (item that extends Composite and has a CellTable + Pager via UiBinder), which is inside a FlowPanel, which is the contents of a tab for a TabPanel.

I've set the height and width programmatically (for now) on all so that: CellTable : 600px x 500px FlowPanel : 650px x 550px TabPanel : 700px x 600px

When the page renders I can check the HTML to see that my CellTable has content and width + height set fine, so do all the other components but for some reason I can't see the table. Only an empty tab panel. Any ideas why or how I can size my components correctly?

È stato utile?

Soluzione

You have to set the height of the tab panel.

Refer the following links

TabLayoutPanel not showing widgets only Tab items are visible

GWT:how to make tabPanel to 100% height.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top