Thanks. My dialog box is, as you can see from the code, already set modal.
On Jul 23, 3:37 pm, "dane.molotok" <[email protected]> wrote: > My understanding is that the scroll wheel is like anything else, and > only applies to what has focus. So even though your dialog box is > open, it somehow doesn't have focus yet. I would start with using > DialogBox#setModal(boolean) to see if that helps. > > On Jul 23, 8:59 am, Asfand Yar Qazi <[email protected]> wrote: > > > Sorry to bump this, but nobody knows anything about this? There must > > be something obvious I'm missing..... > > > On Jul 21, 11:24 am, Asfand Yar Qazi <[email protected]> wrote: > > > > 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.
