wood burning stoves 2.0*
The moose likes GWT and the fly likes AbsolutePanel doesn't display Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "AbsolutePanel doesn Watch "AbsolutePanel doesn New topic
Author

AbsolutePanel doesn't display

panuque bla
Greenhorn

Joined: Aug 01, 2011
Posts: 5
Hi,

I have a AbsolutePanel in which i add widgets (label, textbox, anything...). When i compile and after go to the browser, the AbsolutePanel is not displayed. If i inspect the element with Firebug i can see that the style of the element that contains the AbsolutePanel is like this:



if i change the value of the attribute position to "absolute" the AbsolutePanel is displayed OK, but i dont know how to change this attribute because is a internal style of gwt (i use 1.6). My style (absolute-panel-bug) changes this attribute but it takes no effect on the style:



How can i solve this problem? Is there anyway to change the internal style of gwt?

Thanks.
panuque bla
Greenhorn

Joined: Aug 01, 2011
Posts: 5
Finally i solved the problem. Using gwt 1.6 (my version), i can change the attributes using:



Hope it helps.
 
Don't get me started about those stupid light bulbs.
 
subject: AbsolutePanel doesn't display