Problem:

The native DialogBox component in GWT 1.4.60 is broken in Firefox 3.6.
It works in FF 3.5.x and all other major browsers.

Behavior:

You will not be able to drag the dialogbox in Firefox 3.6

Test Code:

public class MyApplication implements EntryPoint {

    public MyApplication() {
    }

    public void onModuleLoad() {

        Button show = new Button("Show");

        final DialogBox box = new DialogBox(false, false);
                box.setText("Testing");
                box.setPopupPosition(100, 100);
                box.setSize("100px", "100px");

                VerticalPanel contents = new VerticalPanel();
                contents.add(new Label("Hi"));

                Button close = new Button("Close");
                close.addClickListener(new ClickListener() {
                        public void onClick(Widget sender) {
                                box.hide();
                        }
                });
                contents.add(close);
                box.setWidget(contents);


        show.addClickListener(new ClickListener() {
                public void onClick(Widget sender) {

                        box.show();
                }
        });

        RootPanel.get().add(show);

    }

}

Other notes:

I've not tried with other versions of GWT. Anyone else has this
problem? Please post here if you've a solution or workaround.

Thank you.

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