[kandinsky] Replace KDText::stringSize(" ") by KDText::charSize()

Change-Id: Ie962d7784b54ff41431d21f64d9af0887a86f9b7
This commit is contained in:
Émilie Feral
2017-08-09 10:34:46 +02:00
parent cdee87527e
commit 5c4740913b
17 changed files with 32 additions and 27 deletions

View File

@@ -67,7 +67,7 @@ KDCoordinate ListController::rowHeight(int j) {
return defaultHeight;
}
KDCoordinate sequenceSize = layout->size().height();
return sequenceSize + defaultHeight - KDText::stringSize(" ").height();
return sequenceSize + defaultHeight - KDText::charSize().height();
}
void ListController::willDisplayCellAtLocation(HighlightCell * cell, int i, int j) {