A search bar is a common GUI element, usually a single-line text box, for users to enter text to be searched for in a database.
On iOS 7, there are 2 ways to display a search bar: prominent and minimal style.
This style of search bar has a translucent background with the color of the Application bar, if no color is set, the default color (gray) is used.
In GeneXus, a search bar has the prominent style in the following cases:
- The grid and the root table sizes are equal.
- The grid is in the first row of the root main table and its width is equal to the table's width.
Note: in the first case, when a prominent bar takes focus, it moves to the Navigation bar.
The minimal style has no background so it uses the grid's background color as its own. A search bar has the minimal style if the grid does not meet the conditions to be prominent.