• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

the output of DialogBox is very strange

 
Ranch Hand
Posts: 308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 453
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic