Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User cabe's Avatar
    Join Date
    Nov 2008
    Location
    江州
    Posts
    19
    Vote Rating
    0
    cabe is on a distinguished road

      0  

    Default [CLOSED] I am not sure ,and is this a bug?

    [CLOSED] I am not sure ,and is this a bug?


    I want to control a window when it is dragged,so I add a dragListener to it,this is my test code:

    public class WindowTest implements EntryPoint {
    private Window w;
    public void onModuleLoad() {
    w = new Window();
    w.setSize(300, 300);
    w.setUrl("http://www.163.com");
    w.show();
    DragListener dragListener = new DragListener() {
    @Override
    public void dragStart(DragEvent de) {
    System.out.println("start"+"***"+w.getHeight());
    }

    @Override
    public void dragMove(DragEvent de) {
    System.out.println("move"+"***"+w.getHeight());
    }

    @Override
    public void dragEnd(DragEvent de) {
    System.out.println("end"+"***"+w.getHeight());
    }
    };
    w.getDraggable().addDragListener(dragListener);
    }
    }


    after I drag it the print result is:

    start***0
    move***0
    move***0
    end***300

    that means the size of the window is missing when dragStart and dragMove,but I really need to know it because I want to control the region where window can be dragged to.Is this a bug? If not what can I do if I want to satisfy my purpose?
    古士羽 from China

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    No it is not a bug. The window is not visible while dragging as you drag the proxy

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar