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.


Search.png