projects
/
platform
/
framework
/
native
/
uifw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
503feed
)
Fix for SB when CancelButton is not enabled during Construct
author
Ayush
<ayush.sriv@samsung.com>
Fri, 5 Apr 2013 11:27:48 +0000
(16:57 +0530)
committer
Ayush
<ayush.sriv@samsung.com>
Fri, 5 Apr 2013 11:27:48 +0000
(16:57 +0530)
Change-Id: I57873cf8832a723a2cdb65e42d3be055ba706af1
Signed-off-by: Ayush <ayush.sriv@samsung.com>
src/ui/controls/FUiCtrl_SearchBarPresenter.cpp
patch
|
blob
|
history
diff --git
a/src/ui/controls/FUiCtrl_SearchBarPresenter.cpp
b/src/ui/controls/FUiCtrl_SearchBarPresenter.cpp
index
6a46fd3
..
c89a108
100755
(executable)
--- a/
src/ui/controls/FUiCtrl_SearchBarPresenter.cpp
+++ b/
src/ui/controls/FUiCtrl_SearchBarPresenter.cpp
@@
-606,7
+606,7
@@
_SearchBarPresenter::OnBoundsChanged(void)
r = __pEdit->SetBounds(__searchFieldBounds);
SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.",GetErrorMessage(r));
- if (GetMode() == SEARCH_BAR_MODE_INPUT)
+ if (
__pSearchBar->IsUsableCancelButton() &&
GetMode() == SEARCH_BAR_MODE_INPUT)
{
float buttonWidth = 0.0f;
_ControlOrientation orientation = _ControlManager::GetInstance()->GetOrientation();