Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

AbsolutePanel doesn't display

Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Finally i solved the problem. Using gwt 1.6 (my version), i can change the attributes using:

Hope it helps.
Willie Smits increased rainfall 25% in three years by planting trees. Tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic