mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-24 16:20:49 +01:00
[apps/calculation] additional_outputs: Always force selection on the
left subviews of cells when IllustratedListController pop-up is displayed
This commit is contained in:
@@ -19,6 +19,10 @@ IllustratedListController::IllustratedListController(Responder * parentResponder
|
||||
}
|
||||
|
||||
void IllustratedListController::didEnterResponderChain(Responder * previousFirstResponder) {
|
||||
// Select the left subview on all cells
|
||||
for (int i = 0; i < k_maxNumberOfAdditionalCalculations; i++) {
|
||||
m_additionalCalculationCells[i].setSelectedSubviewPosition(ScrollableInputExactApproximateExpressionsView::SubviewPosition::Left);
|
||||
}
|
||||
selectCellAtLocation(0, 1);
|
||||
}
|
||||
|
||||
|
||||
@@ -58,6 +58,7 @@ public:
|
||||
void setCalculation(Calculation * calculation);
|
||||
void setDisplayCenter(bool display);
|
||||
void setDisplayLeft(bool display);
|
||||
void setSelectedSubviewPosition(ScrollableInputExactApproximateExpressionsView::SubviewPosition subviewPosition) { m_view.setSelectedSubviewPosition(subviewPosition); }
|
||||
|
||||
private:
|
||||
// Remove label margin added by TableCell because they're already handled by ScrollableInputExactApproximateExpressionsView
|
||||
|
||||
Reference in New Issue
Block a user