Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

the output of DialogBox is very strange

 
peter tong
Ranch Hand
Posts: 245
  • 0
  • 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
strange output of DialogBox
[Thumbnail for panel.png]
 
peter tong
Ranch Hand
Posts: 245
  • 0
  • 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
before dialog box is shown
[Thumbnail for BEFORE.JPG]
After.JPG
after dialog box is shown
[Thumbnail for After.JPG]
 
avi sinha
Ranch Hand
Posts: 453
Google Web Toolkit Hibernate Java
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic