View Full Version : [CLOSED] BETA 5: El.setXY(int x, int y, FxConfig config)

19 Jun 2008, 2:43 AM
There seems to be bug, whenever
I do the following:

FxConfig config = new FxConfig(500);

element is not moving in hosted mode.

following works:

FxConfig config = new FxConfig(2000);

must be some problem in
Animation.update(double curTime) with
small durations

the FX sample in exploreer demo woks, since it uses:
since it does not use attribute FXCOnfig.duration

19 Jun 2008, 5:21 AM
I tested the following code and had no issues, host mode, web mode ie and ff. If you still have problems, then post some test code.

public void onModuleLoad() {
final Button btn = new Button("Test");
RootPanel.get().add(new Button("Move", new SelectionListener<ButtonEvent>() {
public void componentSelected(ButtonEvent ce) {
btn.el().setXY(100, 100, new FxConfig(100));