Hi,

sorry for repeating and posting in this thread without solution, but I
must say that TabLayoutPanel is useless for me if its size cannot be
maximized.

So I'll have to build my own TabPanel, but this is not satisfactory
since a framework should prevent me from building my own versions of
things that should be already available.

I cannot understand why TabLayoutPanel insists on having its content
area squeezed at the top...

Magnus

On Jul 4, 12:24 am, Magnus <[email protected]> wrote:
> Thanks! I tried with "dummy panels", VerticalPanel and SimplePanel. I
> tried absolute and relative sizes but nothing seems to have an effect.
>
>  private void init ()
>  {
>   TabPanel pnl = new TabPanel ();
>   pnl.setSize ("100%","100%");
>   //pnl.setHeight ("100px");
>
>   SimplePanel p = new SimplePanel ();
>   p.setPixelSize (100,200);
>   HTML txt1 = new HTML("This isa Text 1.");
>   p.add (txt1);
>  //  txt1.setPixelSize (200,200);
>   pnl.add (p,"Home 1");
>
>   HTML txt2 = new HTML("This is Text 2.");
>   pnl.add (txt2,"Home 2");
>  }
>
> Magnus
>
> On Jul 3, 6:43 pm, aditya sanas <[email protected]> wrote:
>
> > I think for that you will require to set its border explicitly.
> > that will settle this issue.
> > you can add a dummy panel on tab home1 or home2 and set its height
> > but here  if you set height using % then it will not work you will have to
> > set height in pixels or any other like em...
>
> > i hope this will work.
>
> > --
> > Aditya
>
> > On Sat, Jul 3, 2010 at 7:09 PM, Magnus <[email protected]> wrote:
> > > In addition, it would set the wrong height! The height of the TabPanel
> > > (pnl) is ok, it covers 100 % of the available space.
> > > But the VerticalPanel p that I add as the client panel to one of the
> > > tab pages is not affected.
>
> > > Look at this screenshot:
> > >http://yfrog.com/4rtabpanelp
>
> > > The TabPanel (red border) is ok. But its child panel (blue border) is
> > > crunched at the top.
>
> > > How can I get the blue border maximized to the red border?
>
> > > Thanks
> > > Magnus
>
> > > --
> > > 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.

Reply via email to