I've been browsing stack overflow and can't find a simple newbie-level explanation for this. I have the following behaviour. When the user clicks the search the index is removed and a cancel button appears next to the search bar. When cancel is pressed, the cancel button is removed and the index reappears.
Does anyone know a simple way to reduce the width of the search bar (text field) by 20-30 pixels on the right. This is the way the contacts app deals with this overlay.
Any help gratefully appreciated. I've built the view in a xib file.