RE: AbsoluteLayout

The css position is supposed to given as top/bottom and left/right values, for example, here’s an actual code snippet I’ve used in my project.


Button a1 = new Button(null, listener);
board.addComponent(a1, "top: 250px; left: 10px");

“board” is an AbsoluteLayout to which I’ve explicitly specified a width and a height. Your code should work, don’t know if it’s the height and width I’ve specified which makes the difference.

  • Kim