mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[apps] Set margins in Shared::StoreController
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user