[apps/shared] Change scroll indicator margin in table view

Change-Id: Ib3e3a5c673e39bd8d6f8515ae52f3fdfd58de300
This commit is contained in:
Émilie Feral
2017-05-04 10:13:53 +02:00
parent d8f7e2f41d
commit 7a23094657
9 changed files with 15 additions and 29 deletions

View File

@@ -9,7 +9,7 @@ using namespace Poincare;
namespace Shared {
ValuesController::ValuesController(Responder * parentResponder, ButtonRowController * header, I18n::Message parameterTitle, IntervalParameterController * intervalParameterController) :
EditableCellTableViewController(parentResponder, k_topMargin, k_rightMargin, k_bottomMargin, k_leftMargin),
EditableCellTableViewController(parentResponder),
ButtonRowDelegate(header, nullptr),
m_abscissaTitleCell(nullptr),
m_abscissaCells{},
@@ -296,7 +296,7 @@ float ValuesController::evaluationOfAbscissaAtColumn(float abscissa, int columnI
}
View * ValuesController::loadView() {
SelectableTableView * tableView = (SelectableTableView*)EditableCellTableViewController::loadView();
SelectableTableView * tableView = new SelectableTableView(this, this, 0, 0, k_topMargin, k_rightMargin, k_bottomMargin, k_leftMargin, this, true, true, Palette::WallScreenDark, 13, Palette::GreyDark, Palette::GreyMiddle);
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);