Thursday, May 31, 2012

Re: can DialogBox has a "x" close button in the upper right hand corner like most window have?

Where it was a pain in the past to do this, it's actually pretty straightforward now.  Just extend DialogBox and provide your own Caption implementation in your constructor's super call.  Our Caption is just a simple 2 column Grid extension with an "X" Image in the right column.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/gR_AywXRG2YJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment