Results 1 to 3 of 3

Thread: Carousel code / Rotating

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    76
    Vote Rating
    0
      0  

    Default Carousel code / Rotating

    Hi,

    I am trying to make a page part of a bottom panel as a carousel. I can do this with carousel with the usage of card. But then the problem arise how to make the picture full size of the page.
    Must I code it with width and height? How do I know the width and height of the container? Hard coding of sizes isn't the way to go I think.

    When I rotate the device nothing is happening. How must I ensure the rotating of the user interface as well?

    https://gist.github.com/2586842 This is the code of the viewport.

    The whole site can be found here http://jophosting.x10.mx/mvillacomfo...llacomfort.zip
    as a zip and the code in action here http://jophosting.x10.mx/mvillacomfort/ (it is the third icon at the bottom causing me a headache).

    Thanks for help,
    John

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    You can use percentage sizing.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    76
    Vote Rating
    0
      0  

    Default Perzentage sizing

    Hi,

    Thanks for answer I did already experiment with width and height 100% but nothing changed.
    Can you be a little bit more specific. Where must I use the percentage?

    John

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
  •