I want to set up TabPanel to occupy whole browser page area. I set
width and height to 100%, it works for width, but not for height. Does
anyone have an idea how to solve this problem?

My code:

        final Frame frame1 = new Frame("http://localhost:8080/
SemanticServiceDescription/SalesForceServices?Tester");
        final Frame frame2 = new Frame("http://localhost:8080/
SemanticServiceDescription/GoogleAppEngineServices?Tester");
        final Frame frame3 = new Frame("http://localhost:8080/
SemanticServiceDescription/");

       frame1.setWidth("100%");
        frame2.setWidth("100%");
        frame3.setWidth("100%");

        frame1.setWidth("100%");
        frame2.setWidth("100%");
        frame3.setWidth("100%");

      TabPanel panel = new TabPanel();


        FlowPanel flowpanel;

        flowpanel = new FlowPanel();
        flowpanel.add(frame1);
        flowpanel.setHeight("100%");
        flowpanel.setWidth("100%");
        panel.add(flowpanel, "SalesForce Cloud");

        flowpanel = new FlowPanel();
        flowpanel.add(frame2);
        flowpanel.setHeight("100%");
        flowpanel.setWidth("100%");
        panel.add(flowpanel, "Google AppEngine Cloud");

        flowpanel = new FlowPanel();
        flowpanel.add(frame3);
        flowpanel.setHeight("100%");
        flowpanel.setWidth("100%");
        panel.add(flowpanel, "Semantic Cloud annotations");

        panel.setWidth("100%");
        panel.setHeight("100%");
        panel.setAnimationEnabled(false);

        panel.selectTab(0);

        RootPanel root = RootPanel.get();
        root.add(panel);


Thank you,
Darko

-- 
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