From: JongTaeOh Date: Tue, 9 Apr 2013 09:17:12 +0000 (+0900) Subject: Fixed client area issue by SIP X-Git-Tag: accepted/tizen_2.1/20130425.024239~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b0d07f2494a18e873729702e1927acebf6efd70;p=apps%2Fosp%2FMusicPlayer.git Fixed client area issue by SIP Change-Id: If10f44c3ce0244bd30964a5955f3ea7269027308 --- diff --git a/src/MpSearchForm.cpp b/src/MpSearchForm.cpp index db1f3f4..cc19a4f 100644 --- a/src/MpSearchForm.cpp +++ b/src/MpSearchForm.cpp @@ -188,9 +188,9 @@ void SearchForm::OnKeypadClosed(Tizen::Ui::Control& source) { AppLogDebug("ENTER"); -// GetFooter()->SetShowState(true); -// Rectangle clientBounds = GetClientAreaBounds(); -// __pSearchTableView->SetBounds(Rectangle(0, 0, clientBounds.width, clientBounds.height - __pSearchBar->GetHeight())); + GetFooter()->SetShowState(true); + Rectangle clientBounds = GetClientAreaBounds(); + __pSearchTableView->SetBounds(Rectangle(0, 0, clientBounds.width, clientBounds.height - __pSearchBar->GetHeight())); AppLogDebug("EXIT"); } @@ -198,8 +198,8 @@ void SearchForm::OnKeypadOpened(Tizen::Ui::Control& source) { AppLogDebug("ENTER"); -// Rectangle clientBounds = GetClientAreaBounds(); -// __pSearchTableView->SetBounds(Rectangle(0, 0, clientBounds.width, clientBounds.height - __pSearchBar->GetHeight())); + Rectangle clientBounds = GetClientAreaBounds(); + __pSearchTableView->SetBounds(Rectangle(0, 0, clientBounds.width, clientBounds.height - __pSearchBar->GetHeight())); AppLogDebug("EXIT"); } @@ -670,4 +670,4 @@ SearchForm::OnFormBackRequested(Tizen::Ui::Controls::Form& source) pSceneManager->GoForward(ForwardSceneTransition(__pSceneId->GetPointer(), SCENE_TRANSITION_ANIMATION_TYPE_NONE, SCENE_HISTORY_OPTION_NO_HISTORY, SCENE_DESTROY_OPTION_DESTROY)); AppLogDebug("EXIT"); -} \ No newline at end of file +}