Re: How do I write my own version of DialogBox?

2009-05-06 Thread twdarkflame
Thanks for the help guys, I'm keeping this as a referance for future use, allthough Ian found a very neat solution to my specific problem. (Using an absolute panel, displacing the button upwards above its container, and changing the css to overflow visible...thus getting a close button for the

How do I write my own version of DialogBox?

2009-05-05 Thread darkflame
After having lots of trouble trying to extend DialogBox to have a close button ( http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/4ee8f8169c2e3594) and it continuing to work in a sort-of not-very-well or flexible manor, I decided to just copy and modify googles Dialog class.

Re: How do I write my own version of DialogBox?

2009-05-05 Thread Isaac Truett
Thomas, What I did when I wanted to open up some SuggestBox features was to copy the source file into my project source tree so that it maintained the same package, and therefore access to package-protected methods. I made the minimum required changes to that class, trying to keep future merges

Re: How do I write my own version of DialogBox?

2009-05-05 Thread X
Aye. Use replace-with class=com.google.gwt.user.client.ui.YourCrAZyClassName when-type-is class=com.google.gwt.user.client.ui.DecoratedPopupPanel / /replace-with ...If you're willing to rewrite enough classes, you can even compile out HashMaps and Tables... And file sizes will