can you provide a screen shot? would give a clear picture of the issue.

~Ashwin

On Saturday 19 November 2011 12:35 PM, Ashwani Gupta wrote:
Finally got a chance to work on this.
I tried inspecting the Element using IE 9 (using F12 Developer Tools). Almost all my elements have position = absolute. I tried setting the TabLayoutPanelContent height to 100% but nothing happend. Its not that nothing is visible I have been seeing textarea vertically aligned but then I can only see the first 12 of them and no way to see the rest of them, so what I am expecting is that if TabLayoutPanel resizes the scroll bar should appear so I can scroll down to all my text areas.

On Tue, Nov 15, 2011 at 11:58 PM, Ashwin Desikan <ashwin.desi...@gmail.com <mailto:ashwin.desi...@gmail.com>> wrote:

    try setting absolute height and check if the position shows as
    absolute using "Inspect Element" or firebug. You can use them also
    to change the height of the TabLayoutPanelContent Style, see if
    that makes your panel to appear.

    I think its mostly due to your vertical panel, its not getting
    resized most probably. try the above option and see if the panel
    appears. Then we can try out other options

    ~Ashwin


    On Wednesday 16 November 2011 01:22:09 PM IST, Ash wrote:

        i tried setting the height of verticalpanel to 100% and also
        in px but
        both didn't work.
        Could be something  wrong with my code.


        On Nov 15, 11:18 pm, Ashwin Desikan<ashwin.desi...@gmail.com
        <mailto:ashwin.desi...@gmail.com>>  wrote:

            you can override the height of the content panel in CSS.
            if you are not
            using styles, you have to additionally set the height of
            the Vertical
            Panel you are adding inside your TabLayoutPanel.

            ~Ashwin

            On Wednesday 16 November 2011 12:45:46 PM IST, Ash wrote:



                p.setHeight("100%");


                Setting the height of TabLayoutPanel to 100% as above
                doesn't work
                either.


                Ash


                On Nov 15, 10:57 pm, Ashwin
                Desikan<ashwin.desi...@gmail.com
                <mailto:ashwin.desi...@gmail.com>>    wrote:

                    you have only provided the height of the tab bar
                    which is 30 px. You
                    also have to set the height of the tabpael
                    content. Set it to 100%


                    ~Ashwin


                    On Wednesday 16 November 2011 12:01:48 PM IST, Ash
                    wrote:


                        Can some one tell me why the TabLayoutPanel
                        won't resize in the
                        following code.


                                    TabLayoutPanel p = new
                        TabLayoutPanel(30, Unit.PX);


                                    VerticalPanel vp = new
                        VerticalPanel();


                                    // int array[] = new int [100];
                                    for (int i = 0; i<      100; i++) {
                                            TextArea ta = new TextArea();
ta.setText(Integer.toString(i));
                                            vp.add(ta);


                                    }


                                    p.add(vp, "New Tab");


                                    // Attach the LayoutPanel to the
                        RootLayoutPanel. The latter will
                        listen for
                                    // resize events on the window to
                        ensure that its children are
                        informed of
                                    // possible size changes.


                                    RootLayoutPanel rp =
                        RootLayoutPanel.get();
                                    rp.add(p);- Hide quoted text -


                    - Show quoted text -- Hide quoted text -


            - Show quoted text -




-- 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
    <mailto:google-web-toolkit@googlegroups.com>.
    To unsubscribe from this group, send email to
    google-web-toolkit+unsubscr...@googlegroups.com
    <mailto:google-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-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.

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