Change-Id: I8d62aacf8e51fbedb65d4f471e69e265ae1ecde1
Signed-off-by: Ayush <ayush.sriv@samsung.com>
editBounds.y = verticalMargin;
editBounds.height = searchBarBounds.height - (editBounds.y * 2.0f);
- editBounds.height = (editBounds.height > searchBarMinHeight) ? editBounds.height : searchBarMinHeight;
+
+ float searchFieldMinHeight = searchBarMinHeight - (verticalMargin * 2.0f);
+ editBounds.height = (editBounds.height > searchFieldMinHeight) ? editBounds.height : searchFieldMinHeight;
editBounds.width = searchBarBounds.width - cancelButtonWidth - horizontalMargin - buttonLeftMargin - buttonRightMargin;