Fixed color palate issue when no keypad
authorSeema <seema.nagraj@samsung.com>
Tue, 25 Jun 2013 11:08:31 +0000 (16:38 +0530)
committerSeema <seema.nagraj@samsung.com>
Tue, 25 Jun 2013 11:08:31 +0000 (16:38 +0530)
Change-Id: I64b4aa1f0c4b6aa437031f8b1eaee099876f473b
Signed-off-by: Seema <seema.nagraj@samsung.com>
src/MmDrawingDetailForm.cpp
src/MmTextEditorForm.cpp
src/MmTypes.cpp

index 9762359..fae9495 100644 (file)
@@ -158,6 +158,9 @@ MemoDrawingDetailForm::OnInitializing(void)
                __pDatetimeLabel->SetTextColor(Color::GetColor(COLOR_ID_GREY));
                SetControlAlwaysOnTop(*__pDatetimeLabel, true);
                __pDatetimeLabel->SetTextConfig(FONT_SIZE_DATETIME, LABEL_TEXT_STYLE_NORMAL);
+               __pDatetimeLabel->SetTextHorizontalAlignment(ALIGNMENT_RIGHT);
+               __pDatetimeLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
+
        }
 
        __pCommentPanel = static_cast<Panel*>(GetControl("IDC_PANEL_COMMENT"));
index ea62818..34cb07b 100644 (file)
@@ -933,7 +933,7 @@ void
 MemoTextEditorForm::SetTextSize(int size)
 {
        __pMemoContentEditarea->SetTextSize(size);
-       __pMemoContentEditarea->SetCursorPosition(0);
+       __pMemoContentEditarea->SetCursorPosition(__cursorPosition);
        __pMemoContentEditarea->Invalidate(false);
        __pSliderPreviewLabel->SetTextConfig(size, LABEL_TEXT_STYLE_NORMAL);
        __pSliderPreviewLabel->Invalidate(false);
index 7ec3568..dc85a94 100644 (file)
@@ -160,4 +160,4 @@ const int FILE_EXTENSION_SIZE = 4;
 const int MAX_TEXTMEMO_LENGTH = 1000;
 const int SORT_BY_LIST_ITEM_COUNT = 4;
 const int MAX_COMMENT_LENGTH = 100;
-const int H_EDITAREA_NOKEYPAD = 967;
+const int H_EDITAREA_NOKEYPAD = 982;