Results 1 to 2 of 2

Thread: Container size changes wrong on devices

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha Premium Member
    Join Date
    Aug 2012
    Vote Rating

    Default Container size changes wrong on devices

    See image below:

    My search bar width isn't behaving correctly with percentage widths. The blue Toolbar is set to 100%. Inside I have a centered container set to 90%, and inside of that I have another centered container set to 100%. Those work correctly. And those are holding the text box and the search button.

    I want the text field to occupy 85% of the container, and the button to fill the remaining 15% so I have those widths set in Architect. Both have 5px margins to buffer it inside of the green container. As you can see, the right side isn't doing that and changes depending on size or device. The right side should look exactly like the correct left side.

    Also the Search icon isn't perfectly centered, if anyone has suggestions for that too.


  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    This is all CSS and browser behavior. Android has had it's issues with CSS positioning.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:

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