diff --git a/apps/shared/store_controller.cpp b/apps/shared/store_controller.cpp index 80e2163e0..c57e01137 100644 --- a/apps/shared/store_controller.cpp +++ b/apps/shared/store_controller.cpp @@ -163,6 +163,7 @@ View * StoreController::loadView() { for (int i = 0; i < k_maxNumberOfEditableCells; i++) { m_editableCells[i] = new EvenOddEditableTextCell(tableView, this, m_draftTextBuffer); } + tableView->setMargins(k_margin); return tableView; } diff --git a/apps/shared/store_controller.h b/apps/shared/store_controller.h index 597cbcf47..a5ae3d19b 100644 --- a/apps/shared/store_controller.h +++ b/apps/shared/store_controller.h @@ -34,6 +34,7 @@ public: protected: static constexpr KDCoordinate k_cellWidth = 80; //TODO + static constexpr KDCoordinate k_margin = 8; constexpr static int k_numberOfColumnsPerSeries = 2; constexpr static int k_maxNumberOfEditableCells = 22 * FloatPairStore::k_numberOfSeries; constexpr static int k_numberOfTitleCells = k_numberOfColumnsPerSeries * FloatPairStore::k_numberOfSeries;