That's what's odd. I've used Chrome to disable all of the CSS I could. I commented out all of the GWT CSS. I even modifed the Javascript to stop importing "gwt/standard/standard.css". The HTML still renders differently than it does outside of GWT (or inside of Ext-JS, which is where it is currently displayed).
On Friday, July 11, 2014 12:12:11 PM UTC-5, Jens wrote:
-- I can't use border-radius CSS. The same HTML is also used inside a Java app using it's antiquated HTML engine. I need it to show up consistently in both places.
GWT is doing something that changes the vertical size of the elements. The first div has an explicit height of 280px. The table inside it has a height of 300px for some reason, and extends past the bottom of the div that contains it. When I display the same HTML outside of GWT the table has a height of 280px.
On Friday, July 11, 2014 12:12:11 PM UTC-5, Jens wrote:
Not sure how to help. As it's a CSS issue the Chrome/FireFox DevTools should be everything you need to figure it out. If you believe that it's a GWT default style causing this, then comment out your GWT theme inherited in your app.Also keep in mind that you can achieve the same with less elements and using border-radius CSS. Of course this only works in IE 9+, older IEs will display normal corners: http://jsfiddle.net/98a4v/ -- J.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment