1. #1
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Answers
    8
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default Unanswered: Pinch Image with scroll

    Unanswered: Pinch Image with scroll


    Hi,
    I can not be the only one who really needs the ability to zoom on a image and when zoomed be able to scroll around on the zoomed image to see the rest.
    I have tried to build something on:
    http://www.sencha.com/forum/showthre...l=1#post733537

    Buy I can't get the scroll to work correct (can't see the whole image)

    It would be great if Sencha developed the control, but until then. Are there any out there who have made zoom with scroll? Or can help me?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Answers
    3357
    Vote Rating
    751
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    This is something we are going to have to figure out. The element when CSS3 is used kind of detaches from the parent <div> elements which doesn't notify the parent elements that the size has changed. You can try to change the size of the image component and have the image take up 100% of the height and width (with CSS' background-size rule or if you are using a different mode than default the <img> will need to take up 100% height and width)
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Answers
    8
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    I believe I have tried that with out any luck. The best thing I did was expanding the scroller-container with the scale size. But the placement of the image is wrong so I can't scroll to the left upper corner.

    Do you have a simple working example?

  4. #4
    Sencha - Training Team mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    690
    Answers
    21
    Vote Rating
    12
    mrsunshine will become famous soon enough

      0  

    Default


    i posted a working solution in the example forum
    http://www.sencha.com/forum/showthre...rollable-Image

  5. #5
    Touch Premium Member hotdp's Avatar
    Join Date
    Nov 2010
    Location
    Denmark
    Posts
    603
    Answers
    8
    Vote Rating
    14
    hotdp will become famous soon enough

      0  

    Default


    Quote Originally Posted by mrsunshine View Post
    i posted a working solution in the example forum
    http://www.sencha.com/forum/showthre...rollable-Image
    Great job my solution is 90% like yours, just needed the last 10%. Thanks! I will post some emprovements in the example forum.

Thread Participants: 2

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