Re: Tablayout panel does not renders the content
Hi, I followed your suggestions to make sure I was doing the right thing but I'm still not able to get my tabs to be displayed. 1) I'm using the correct DOCTYPE 2) I tried with both SimplePanel and LayoutPanel (which extends ComplexPanel). Neither have worked. When using SimplePanel, at least the tabs title are displayed (not the content). With LayoutPanel, not even the tabs are visible. I'm really stuck with this problem. Does anybody knows what may be happening? Any ideas of what I could do to get it working? Thanks, On Thu, Sep 23, 2010 at 10:36 AM, Falcon msu.fal...@gmail.com wrote: Two problems that generally cause this: 1) Make sure you're in standards mode. (!DOCTYPE html at the start of your HTML document) 2) TabLayoutPanel is designed to be used inside the other Layout panels introduced in GWT 2.0. In order to get your content to show, you'll have to make sure you're inside one of those panels. The alternative is to manually mess with the CSS and switch the position to relative in the tab content areas, but that's a more brittle solution. I've ended up making my own TabPanel since I need a set of tabs that works inside a fluid layout on mobile phones. On Sep 23, 12:05 am, lalit lalit.bh...@gmail.com wrote: I have a structure similar to following g:TabLayoutPanel ui:field=rightTabPanel width=100% height=100% barUnit=EM barHeight=3 g:tab g:headerGraph/g:header g:FlowPanel ui:field=graphContent/ /g:tab g:tab g:headerData/g:header g:FlowPanel ui:field=dataContent/ /g:tab /g:TabLayoutPanel I have two tabs on of which shows the graph and another one shows data. However the content inside a tab is not visible. If I put g:FlowPanel ui:field=graphContent/ outside of tablayoutpanel I can see the graph, but If I put as shown above the graph is not visible. Any clue would be helpful. thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Tablayout panel does not renders the content
Two problems that generally cause this: 1) Make sure you're in standards mode. (!DOCTYPE html at the start of your HTML document) 2) TabLayoutPanel is designed to be used inside the other Layout panels introduced in GWT 2.0. In order to get your content to show, you'll have to make sure you're inside one of those panels. The alternative is to manually mess with the CSS and switch the position to relative in the tab content areas, but that's a more brittle solution. I've ended up making my own TabPanel since I need a set of tabs that works inside a fluid layout on mobile phones. On Sep 23, 12:05 am, lalit lalit.bh...@gmail.com wrote: I have a structure similar to following g:TabLayoutPanel ui:field=rightTabPanel width=100% height=100% barUnit=EM barHeight=3 g:tab g:headerGraph/g:header g:FlowPanel ui:field=graphContent/ /g:tab g:tab g:headerData/g:header g:FlowPanel ui:field=dataContent/ /g:tab /g:TabLayoutPanel I have two tabs on of which shows the graph and another one shows data. However the content inside a tab is not visible. If I put g:FlowPanel ui:field=graphContent/ outside of tablayoutpanel I can see the graph, but If I put as shown above the graph is not visible. Any clue would be helpful. thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Tablayout panel does not renders the content
I have a structure similar to following g:TabLayoutPanel ui:field=rightTabPanel width=100% height=100% barUnit=EM barHeight=3 g:tab g:headerGraph/g:header g:FlowPanel ui:field=graphContent/ /g:tab g:tab g:headerData/g:header g:FlowPanel ui:field=dataContent/ /g:tab /g:TabLayoutPanel I have two tabs on of which shows the graph and another one shows data. However the content inside a tab is not visible. If I put g:FlowPanel ui:field=graphContent/ outside of tablayoutpanel I can see the graph, but If I put as shown above the graph is not visible. Any clue would be helpful. thanks in advance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.