either should work. I set in the UIBinder xml the height and width attributes for the TabLayoutPanel widget. <g:TabLayoutPanel barHeight="30" width="100%" height="100%"/>
U can also use CSS. Define the height/widths in the CSS selector and then do a addStyleNames="mycssstyle" in the uibinder XML Also u can do the same programatically, setWidth and setHeight or addStyleNames method in the TabLayoutPanel widget. Thanks, Subhro. On Thu, Dec 16, 2010 at 4:26 PM, Aldo Neto <[email protected]> wrote: > Thanks for your reply. > > Do you mean setting them on the TabLayoutPanel XML declaration or via CSS? > If CSS, what classes did you use to set them? > > Thanks, > Aldo > > > On Thu, Dec 16, 2010 at 8:04 AM, Subhrajyoti Moitra < > [email protected]> wrote: > >> Try setting Width/Height of the TabLayoutPanel widget to 100%. >> I had a similar problem, and explicitly setting the height and width >> solved it. Not sure if this would help you. >> >> Thanks, >> Subhro. >> >> On Thu, Dec 16, 2010 at 1:12 AM, Aldo Neto <[email protected]> wrote: >> >>> Hi all, >>> >>> I need to create a TabLayoutPanel and insert it as part of my editing >>> page. In other words, I'm filling a given form and as part of that form I >>> need some information to display inside the Tabs. I'm using >>> the DockLayoutPanel to split the screen and as part of the center I have a >>> SimplePanel (along with other panels), which should set my TabLayoutPanel as >>> its widget. Note that the TabLayoutPanel is defined in a different file. >>> >>> I tried many different ways to do that but none is working. With the >>> SimplePanel I can get the Tabs header to be displayed but not their content. >>> >>> Does anybody know what I have to do to fix that? >>> >>> I was able to get the TabLayoutPanel to work inside the "Hello World" >>> layout (as it would be the only Panel in it), but it is not working for a >>> more complex layout. >>> >>> 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 [email protected] >>> . >>> To unsubscribe from this group, send email to >>> [email protected]<google-web-toolkit%[email protected]> >>> . >>> 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 [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<google-web-toolkit%[email protected]> >> . >> 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
