Hello Marco,

This is what I do:

1. client code:

DecoratedTabPanel tabPanel = new DecoratedTabPanel();
tabPanel.setStylePrimaryName("tabPanel");
tabPanel.setAnimationEnabled(true);

2. CSS:

.tabPanel {
        width:99%;
        height:99%;
        position:fixed;
        top:5px;
        left:5px;
}

I couldn't get it to 100%, but 99% is enough for me.


On Mar 28, 3:19 pm, Marco Gadaleta <gadaleta.ma...@gmail.com> wrote:
> Hello,
> I'm using DecoratorTabPanel inside my gwt project but
> the compiler say me that DecoratorTabPanel was deprecated and recommend to
> me to use
> TabLayoutPanel.
> But a TabLayoutPanel doesn't work  inside a RootPanel that is the component
> that i must use.
>
> Some suggestion?
>
> Is there a way to set DecoratorTabPanel to 100% in width and height?
>
> --
> Marco

-- 
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-toolkit@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.

Reply via email to