try com.google.gwt.dom.client.Style class.
...
Style style = yourElement.getStyle();
style.setPosition(Position.ABSOLUTE);
...
--
Professor Vagner
O PLANETA É O MEU PAÍS, E A CIÊNCIA É A MINHA RELIGIÃO ! INDO AO INFINITO E
ALÉM... !!
--
You received this message because you are subscribed
Hi,
this code does not look totally wrong. However, it depend where your
widgets/"dom" are placed in.
In a LayoutPanel it would not work. In an AbsolutePanel it probably
works.
Stefan Bachert
http://gwtworld.de
On 18 Mai, 15:37, Lex wrote:
> Hello.
>
> I have some odd situation where I need to
Hello.
I have some odd situation where I need to add the style attributes
dynamically/programmatically depending on what the saved data is.
In short, instead of defining the css style definitions in the file
and reference them, I need to create those per Widget, depending on
the data.
I tried to