[escher] Metric: add EllipsisCellWidth. This will be soon used by

Calculation::HistoryCell
This commit is contained in:
Émilie Feral
2020-01-21 14:51:53 +01:00
committed by Léa Saviot
parent 251db5b60e
commit b56cd8b012
2 changed files with 2 additions and 1 deletions

View File

@@ -67,7 +67,7 @@ public:
private:
static constexpr int k_maxNumberOfDisplayableScriptCells = 5; // = 240/50
static constexpr int k_parametersColumnWidth = 37;
static constexpr int k_parametersColumnWidth = Metric::EllipsisCellWidth;
static constexpr int AddScriptCellType = 0;
static constexpr int ScriptCellType = 1;
static constexpr int ScriptParameterCellType = 2;

View File

@@ -35,6 +35,7 @@ public:
constexpr static KDCoordinate CellSeparatorThickness = 1;
constexpr static KDCoordinate TableSeparatorThickness = 5;
constexpr static KDCoordinate ExpressionViewHorizontalMargin = 5;
constexpr static KDCoordinate EllipsisCellWidth = 37;
};
#endif