Thursday, December 14, 2017

Re: Any way to create a DialogBox-like component that DOESN'T use HTML tables?

Ok, thanks for the suggestions folks - I'll experiment!

- Tim

On Wednesday, December 13, 2017 at 1:54:28 AM UTC-8, Jens wrote:

I thought that PopupPanel also uses table for internal layout; is that not the case?

PopupPanel just takes any kind of widget and displays it as an overlay on top of your app, optionally modal and optionally with a dark glass pane. As Colin said a DialogBox adds a 9-box layout through extending DecoratedPopupPanel. The easiest workaround for you would be to copy GWT's DialogBox into your own source (possibly giving it a new name) and then change the DialogBox to directly extend PopupPanel. The 9-box layout should be gone then while still having caption support and being able to drag and move around the DialogBox. If you don't need the caption and movement of the DialogBox you could also just simply use PopupPanel directly instead of DialogBox.

-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment