Fix layout problem when clipboard rotated
authorTaejun <tj.twt.park@samsung.com>
Tue, 19 Mar 2013 06:28:21 +0000 (15:28 +0900)
committerTaejun <tj.twt.park@samsung.com>
Tue, 19 Mar 2013 06:28:21 +0000 (15:28 +0900)
Change-Id: Ia25b67db432e45b8979c1baf0750c289f53a7bd2

src/ui/controls/FUiCtrl_EditPresenter.cpp

index 04480e1..5b80b5e 100644 (file)
@@ -815,7 +815,7 @@ _EditPresenter::OnClipboardPopupOpened(Tizen::Graphics::Dimension& clipboardPopu
                                __pParentForm->Draw();
                        }
 
-                       __pEdit->SendScrollPanelEvent(CORE_OVERLAY_CONTROL_OPENED);
+                       __pEdit->SendKeypadEvent(GetKeypadAction(), CORE_KEYPAD_EVENT_STATUS_CREATED);
                        __pEdit->SendKeypadEvent(GetKeypadAction(), CORE_KEYPAD_EVENT_STATUS_OPEN);
                }
        }
@@ -6239,7 +6239,8 @@ _EditPresenter::ChangeLayout(_ControlOrientation orientation)
                        __pCommandButton->SetVisibleState(false);
                }
 
-               if (IsKeypadExist() || __isClipboardExist)
+               //if (IsKeypadExist() || __isClipboardExist)
+               if (IsKeypadExist()) //Only keypad Exist should be checked because clipboard boundschanged callback will be called after onchagelayout
                {
                        __initialParentHeight = 0.0f;
                        ChangeLayoutInternal(orientation);