1. #1
    Sencha User
    Join Date
    Jun 2011
    Location
    Bangalore, India
    Posts
    178
    Vote Rating
    2
    Answers
    4
    renganathan is on a distinguished road

      0  

    Default Unanswered: Extjs4 alignment issues

    Unanswered: Extjs4 alignment issues


    Hi ,

    I am facing alignment issues in different resolution . Its working fine for my resolution (1280*800).

    But when i change my resolution , the alignment is not proper.

    I have given height & width for elements in pixels format.

    Guys please suggest , how to do coding so that it will work in every resolution ?
    Thanks,

    RENGANATHAN M G

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    899
    Answers
    3575
    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


    It depends what layouts you are using and if you are using fixed widths.

    Using flex in hbox/vbox will dynamically size based on the size given for the parent container. Using anchor in anchor layout can achieve the same thing as you can pass a percentage.
    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.