[apps/calculation] Enable arrow scrolling indicators and add horizontal margin

This commit is contained in:
Ruben Dashyan
2019-02-11 15:08:02 +01:00
committed by EmilieNumworks
parent da0d42ca3b
commit 98e00404b8
2 changed files with 4 additions and 0 deletions

View File

@@ -8,6 +8,8 @@ ScrollableExpressionView::ScrollableExpressionView(Responder * parentResponder)
ScrollableView(parentResponder, &m_expressionView, this),
m_expressionView()
{
setDecoratorType(ScrollView::Decorator::Type::Arrows);
setMargins(0, Metric::HistoryHorizontalMargin, 0, Metric::HistoryHorizontalMargin);
}
void ScrollableExpressionView::setLayout(Layout layout) {