File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.
I agree. Here's the link:
subject: AbsolutePanel doesn't display
It's not a secret anymore!