[escher/code] Cleaned Toolbox rowHeight().

Now it is set in escher/toolbox.h, with value 40 and no differentiation Node/Leaf.

Change-Id: I0809d87a5df5b8bffe201c9faf72ff901430cbe5
This commit is contained in:
Léa Saviot
2017-11-24 15:46:58 +01:00
parent 805bdd1381
commit bc4d2768d0
8 changed files with 9 additions and 27 deletions

View File

@@ -102,13 +102,6 @@ MathToolbox::MathToolbox() : Toolbox(nullptr, I18n::translate(rootModel()->label
{
}
KDCoordinate MathToolbox::rowHeight(int j) {
if (typeAtLocation(0, j) == Toolbox::LeafCellType) {
return k_leafRowHeight;
}
return k_nodeRowHeight;
}
TextField * MathToolbox::sender() {
return (TextField *)Toolbox::sender();
}