wood burning stoves 2.0*
The moose likes GWT and the fly likes the output of DialogBox is very strange Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "the output of DialogBox is very strange" Watch "the output of DialogBox is very strange" New topic
Author

the output of DialogBox is very strange

peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 240
I try to show a DialogBox by click a button, the code is as follow:



the SimpleSearchResultPanel is just a DialogBox as follow:


but when the dialogBox is show up, it is very strange with some unknown line show (see attached), what is the problem come from?
the application is run in IE version 8



[Thumbnail for panel.png]

peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 240
out of my surprise, even using the stockwatcher sample code and add a button to show the DialogBox also has this problem

StockWatcher.java in GWT tutorial


the dialogbox1 is just a DialogBox object as follow:


before click the show button, everything is normal, the DialogBox is not shown yet.
After click the show button, the DialogBox shown is very strange as attached.



[Thumbnail for BEFORE.JPG]


[Thumbnail for After.JPG]

avi sinha
Ranch Hand

Joined: Mar 15, 2009
Posts: 452

Hi Peter,

I think the problem is related to the theme you have inherited. are you using any theme?? ( check your module.gwt.xml)
Also, use firebug to inspect the dialogbox element. The dialog box is right here but the styles are creating issues.

hope this helps.

Thanks


SCJP 5.0 SCWCD 5.0
 
 
subject: the output of DialogBox is very strange