Hello guys,

This is ONLY RELEVANT TO GOOGLE CHROME.

I've been googling for this for a while now, so excuse me if it is a
known issue, but I could not find the answer.

I have this code inside an entry point class.....

        Panel createScrollableStuff() {
                VerticalPanel vp = new VerticalPanel();
                for(int i = 0; i != 100; ++i) {
                        HorizontalPanel hp = new HorizontalPanel();
                        hp.add(new Label("Hello"));
                        hp.add(new Button("Click me"));
                        vp.add(hp);
                }
                ScrollPanel sp = new ScrollPanel(vp);
                sp.setHeight("30em");
                sp.setWidth("30em");
                return sp;
        }

        public void onModuleLoad() {
                RootPanel.get("rootPanel").add(createScrollableStuff());

                DialogBox db = new DialogBox(true, true);
                db.setGlassEnabled(true);
                db.add(createScrollableStuff());
                db.center();
        }

It creates a list of widgets inside a scrolling list, both in a dialog
box, and directly on the page itself.

Now, if I hover my mouse over a button and scroll, the list will
scroll on the page, but NOT in the dialog box... what's going on?

Thanks

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