I'm trying to place the instance of LayoutPanel into the PopupPanel
(auto-hide=false, modal =true). Everything works fine in FF, but in
the IE (6.0) the following happens:

the content of the LayoutPanel (buttons, labels, e.t.c) is not shown
iff the UNITs used in setWidgetTopHeight (or any other
setWidgetXXXYYY) are PCT.

Below is the sample snippet from onModuleLoad:

final Button testButton = new Button("Test");
closeButton.addClickHandler(new ClickHandler() {
            @Override
            public void onClick(ClickEvent event) {
                final PopupPanel billingPanel = new PopupPanel(false, true);
                LayoutPanel tb = new LayoutPanel();
                tb.setPixelSize(600, 400);
                Button a = new Button("Test");
                a.addClickHandler(new ClickHandler() {
                    @Override
                    public void onClick(ClickEvent event) {
                        billingPanel.hide();

                    }
                });
                tb.add(a);
                tb.setWidgetTopHeight(a, 10, Unit.PCT, 10, Unit.PCT);
                billingPanel.setWidget(tb);
                billingPanel.setPopupPosition(100, 100);
                billingPanel.show();

            }
        });

        RootPanel.get().add(testButton);



Do you have some ideas why it happens?

--

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