Results 1 to 3 of 3

Thread: Problem with Ext.dd.DD

  1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    2
    Vote Rating
    0
      0  

    Question Unanswered: Problem with Ext.dd.DD

    Hello!
    I have a problem, i try to do example Drag&Drop from book, like this Drag and Drop
    But elements (objects) aren't moved free, only on right and bottom where they appear.
    My example: http://jsfiddle.net/gultaj/RsBZ5/emb...t,js,html,css/
    What i do wrong? Or maybe i can't understand anything

  2. #2
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,146
    Answers
    87
    Vote Rating
    34
      0  

    Default

    Maybe it has to do with the defaultPadding setting

    defaultPadding : Object
    Provides default constraint padding to "constrainTo" elements.
    Defaults to: {left: 0, right: 0, top: 0, bottom: 0}

    in http://docs.sencha.com/ext-js/4-0/#!/api/Ext.dd.DD

  3. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    2
    Vote Rating
    0
      0  

    Default

    thanks, but it doesn't solve the problem..

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •