mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/reg] Fix dynamic view initialization
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user