NABI_SE Issue Fix: 45902 45915 and internal issue fix
[apps/osp/Contacts.git] / src / CtContactEditorForm.cpp
index 3cf8bcb..1c8476e 100644 (file)
@@ -133,6 +133,9 @@ static const int X_REFRESH_BUTTON_MARGIN = 88;
 static const int Y_EDIT_FIELD_GAP = 5;
 static const int H_EDIT_FIELD_GAP = 10;
 
+static const int X_MORE_INFO_PANEL_GAP = 5;
+static const int H_MORE_INFO_PANEL_GAP = 10;
+
 static const int FONT_SIZE_SAVE_CONTACT_CONFIRM = 42;
 static const int FONT_SIZE_SAVE_CONTACT_BUTTON = 36;
 
@@ -2288,7 +2291,7 @@ ContactEditorForm::GetMoreInformationField(int itemWidth)
        pMoreInformationItem->SetBackgroundColor(Color(COLOR_TABLE_VIEW_BG), TABLE_VIEW_ITEM_DRAWING_STATUS_PRESSED);
 
        Panel* pPanel = new (std::nothrow) Panel();
-       pPanel->Construct(Rectangle(0, -(H_DIVIDER), itemWidth, H_DESCRIPTION_CONTAINER + H_DIVIDER));
+       pPanel->Construct(Rectangle(X_MORE_INFO_PANEL_GAP, X_MORE_INFO_PANEL_GAP, itemWidth - H_MORE_INFO_PANEL_GAP, H_DESCRIPTION_CONTAINER - H_MORE_INFO_PANEL_GAP));
        pPanel->SetBackgroundColor(Color(COLOR_TABLE_VIEW_BG));
 
        pMoreInformationItem->AddControl(pPanel);