diff --git a/apps/regression/calculation_controller.cpp b/apps/regression/calculation_controller.cpp index 36fa5d266..522eb77cd 100644 --- a/apps/regression/calculation_controller.cpp +++ b/apps/regression/calculation_controller.cpp @@ -24,7 +24,6 @@ CalculationController::CalculationController(Responder * parentResponder, Button m_store(store) { m_r2Layout = new HorizontalLayout(new CharLayout('r', KDText::FontSize::Small), new VerticalOffsetLayout(new CharLayout('2', KDText::FontSize::Small), VerticalOffsetLayout::Type::Superscript, false), false); - m_r2TitleCell->setRightMargin(k_r2CellMargin); } CalculationController::~CalculationController() { @@ -255,6 +254,7 @@ View * CalculationController::loadView() { tableView->setBackgroundColor(Palette::WallScreenDark); tableView->setMargins(k_margin, k_scrollBarMargin, k_scrollBarMargin, k_margin); m_r2TitleCell = new EvenOddExpressionCell(1.0f, 0.5f); + m_r2TitleCell->setRightMargin(k_r2CellMargin); for (int i = 0; i < Store::k_numberOfSeries; i++) { m_columnTitleCells[i] = new ColumnTitleCell(tableView); }