ScrollPanel and DisclosurePanel

2012-04-24 Thread tong123123
I have a DockLayoutPanel, inside the DockLayoutPanel there is some FlowPanel plus many DisclosurePanel, I want the content inside the DockLayoutPanel can scroll when many of these DisclosurePanel are expanded, how to achieve this? and I found that if I set DockLayoutPanel height to 100%, the

Re: ScrollPanel and DisclosurePanel

2012-04-24 Thread Jens
I have a DockLayoutPanel, inside the DockLayoutPanel there is some FlowPanel plus many DisclosurePanel, I want the content inside the DockLayoutPanel can scroll when many of these DisclosurePanel are expanded, how to achieve this? Use a ScrollPanel inside the DockLayoutPanel and put

Re: ScrollPanel and DisclosurePanel

2012-04-24 Thread tong123123
is SimplePanel a kind of LayoutPanel? On Tuesday, April 24, 2012 7:01:03 PM UTC+8, Jens wrote: I have a DockLayoutPanel, inside the DockLayoutPanel there is some FlowPanel plus many DisclosurePanel, I want the content inside the DockLayoutPanel can scroll when many of these DisclosurePanel

Re: ScrollPanel and DisclosurePanel

2012-04-24 Thread Jens
No, but SimpleLayoutPanel is. -- J. Am Dienstag, 24. April 2012 17:25:32 UTC+2 schrieb tong123123: is SimplePanel a kind of LayoutPanel? On Tuesday, April 24, 2012 7:01:03 PM UTC+8, Jens wrote: I have a DockLayoutPanel, inside the DockLayoutPanel there is some FlowPanel plus many

ScrollPanel inside DisclosurePanel inside DialogBox does not work on all browsers in OSX Lion

2011-09-20 Thread Phineas Gage
Using GWT 2.4.0, I'm trying to create a DialogBox for errors containing a message and a stack trace inside a DisclosurePanel, but in OSX Lion, scrolling doesn't work in Google Chrome and Safari. It works on Firefox for OSX Lion, IE for XP and Google Chrome for XP. For the browsers that it doesn't

Re: ScrollPanel inside DisclosurePanel inside DialogBox does not work on all browsers in OSX Lion

2011-09-20 Thread Jens
I use a PopupPanel with a ScrollPanel that contains somewhere a DisclosurePanel that in turn contains a ScrollPanel in its content area and it works. But I think I had some issues but could not remember which ones. Can you try and use setModal(false) on your PopupPanel? I don't use

Re: ScrollPanel inside DisclosurePanel inside DialogBox does not work on all browsers in OSX Lion

2011-09-20 Thread Phineas Gage
Replacing setModal(true) above with setModal(false) works for me and still seems to work in the other browsers. It's hard to say whether that's a bug or not, but setModal(false) avoids it. Many thanks... Pete On Sep 20, 6:17 pm, Jens jens.nehlme...@gmail.com wrote: Can you try and use