aspose file tools
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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "AbsolutePanel doesn Watch "AbsolutePanel doesn New topic

AbsolutePanel doesn't display

panuque bla

Joined: Aug 01, 2011
Posts: 5

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?

panuque bla

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.
Consider Paul's rocket mass heater.
subject: AbsolutePanel doesn't display
It's not a secret anymore!