static const int PORTRAIT_MODE = 0;
static const int PORTRAIT_REVERSE_MODE = 1;
static const int LANDSCAPE_MODE = 3;
+static const int POPUP_X_DISPLACEMENT = 10;
static const String FORM_ID = L"CameraCaptureForm";
popupRect.height = CAMERA_FORM_LISTVIEW_H;
}
- r = pCtrl->Construct(Rectangle(0, 0, popupRect.width, popupRect.height), true, false);
+ //As Client area bounds gives us area from the margin of the popup.
+ r = pCtrl->Construct(Rectangle(POPUP_X_DISPLACEMENT, 0, popupRect.width, popupRect.height), true, false);
TryCatch(r == E_SUCCESS, ShowError(r, METHOD_FILE_LINENO), "[%s] pCtrl->Construct",GetErrorMessage(r));
SetCurrentListViewType(id);
static const int MIN_THREAD_SLEEP_TIME = 200;
static const int ENABLE_AUDIO_STREAM = 0;
static const int DISABLE_AUDIO_STREAM = 1;
+static const int POPUP_X_DISPLACEMENT = 10;
static const String FORM_ID = L"VideoRecorderForm";
extern const Tizen::Ui::Scenes::SceneId VIDEO_RECORDER_SCENE_ID = L"VideoRecorderScene";
popupRect.height = VR_FORM_LISTVIEW_H;
}
- popupRect.x = 0;
+ popupRect.x = POPUP_X_DISPLACEMENT; //As Client area bounds gives us area from the margin of the popup.
popupRect.y = 0;
r = pCtrl->Construct(popupRect, true, false);