Set dimensions for search field