mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[escher] Clean the ScrollView, TableView and SelectableTableView constructors
This commit is contained in:
committed by
EmilieNumworks
parent
c934eab947
commit
84561a929f
@@ -304,7 +304,15 @@ double ValuesController::evaluationOfAbscissaAtColumn(double abscissa, int colum
|
||||
}
|
||||
|
||||
View * ValuesController::loadView() {
|
||||
SelectableTableView * tableView = new SelectableTableView(this, this, 0, 0, k_topMargin, k_rightMargin, k_bottomMargin, k_leftMargin, this, nullptr, true, true, Palette::WallScreenDark, 13, Palette::GreyDark, Palette::GreyMiddle);
|
||||
SelectableTableView * tableView = new SelectableTableView(this);
|
||||
tableView->setVerticalCellOverlap(0);
|
||||
tableView->setTopMargin(k_topMargin);
|
||||
tableView->setRightMargin(k_rightMargin);
|
||||
tableView->setBottomMargin(k_bottomMargin);
|
||||
tableView->setLeftMargin(k_leftMargin);
|
||||
tableView->setBackgroundColor(Palette::WallScreenDark);
|
||||
tableView->setIndicatorThickness(13);
|
||||
|
||||
m_abscissaTitleCell = new EvenOddMessageTextCell(KDText::FontSize::Small);
|
||||
for (int i = 0; i < k_maxNumberOfAbscissaCells; i++) {
|
||||
m_abscissaCells[i] = new EvenOddEditableTextCell(tableView, this, m_draftTextBuffer, KDText::FontSize::Small);
|
||||
|
||||
Reference in New Issue
Block a user