• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

the output of DialogBox is very strange

 
peter tong
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
panel.png
[Thumbnail for panel.png]
strange output of DialogBox
 
peter tong
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
BEFORE.JPG
[Thumbnail for BEFORE.JPG]
before dialog box is shown
After.JPG
[Thumbnail for After.JPG]
after dialog box is shown
 
avi sinha
Ranch Hand
Posts: 453
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic