1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    2
    Vote Rating
    0
    sboehler is on a distinguished road

      0  

    Default Answered: Setting initial position of draggable Objects

    Answered: Setting initial position of draggable Objects


    Hello,

    I have a bunch of images within a set of objects of xtype: panel.
    Their initial position has to be randomized + rotated a bit.
    Unfortunately making them draggable: true overrides any -webkit-transform configuration i make for example in the 'painted:' listener or the style: object.
    Furthermore there seems to be no setter to change the position of the draggable object.
    Did i miss something?
    Is there a nice way to solve this problem?

    Thanks in advance,
    Stefan

  2. I've used that method to set the position of a draggable view component:

    >> widgetView.getDraggable().setOffset(xPos, yPos);

    hope this will help you

  3. #2
    Sencha User
    Join Date
    Dec 2011
    Location
    France
    Posts
    12
    Answers
    3
    Vote Rating
    0
    simreno is on a distinguished road

      0  

    Default


    I've used that method to set the position of a draggable view component:

    >> widgetView.getDraggable().setOffset(xPos, yPos);

    hope this will help you

  4. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    2
    Vote Rating
    0
    sboehler is on a distinguished road

      0  

    Default


    Awesome! Thank you very much that did the trick.
    Now i just have to figure out the rotation problem.
    But due to the poor rendering capabilities of the iPad i might also use images containing the rotated picture ...

  5. #4
    Sencha User
    Join Date
    Dec 2011
    Location
    France
    Posts
    12
    Answers
    3
    Vote Rating
    0
    simreno is on a distinguished road

      0  

    Default


    I would say that iPad rendering performances on Web contents are pretty amazing. Compared with Android for example.

    I would recommend you the CSS approach for your image rotations. Good luck!

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi