Merge changes I6f6e3a64,I72d659b4

* changes:
  [escher] Correct metrics
  [apps] In variable box controller, fix bug
This commit is contained in:
Émilie Feral
2017-03-16 17:38:14 +01:00
committed by Gerrit
2 changed files with 3 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ View * VariableBoxController::ContentViewController::view() {
void VariableBoxController::ContentViewController::didBecomeFirstResponder() {
m_selectableTableView.reloadData();
m_selectableTableView.scrollToCell(0,0);
m_selectableTableView.selectCellAtLocation(0, m_firstSelectedRow);
app()->setFirstResponder(&m_selectableTableView);
}

View File

@@ -11,9 +11,9 @@ public:
constexpr static KDCoordinate CommonBottomMargin = 15;
constexpr static KDCoordinate ParameterCellHeight = 35;
constexpr static KDCoordinate ModalTopMargin = 5;
constexpr static KDCoordinate ModalBottomMargin = 20;
constexpr static KDCoordinate ModalBottomMargin = 18;
constexpr static KDCoordinate TabHeight = 27;
constexpr static KDCoordinate ScrollStep = 10;
};
#endif
#endif