[apps] Probability: fix bug in layout (the textfield was moving when

adding characters)
This commit is contained in:
Émilie Feral
2018-01-03 14:03:30 +01:00
committed by EmilieNumworks
parent fd06d428e5
commit 26bbfa85ec
4 changed files with 7 additions and 6 deletions

View File

@@ -6,6 +6,6 @@ void TextCursorView::drawRect(KDContext * ctx, KDRect rect) const {
}
KDSize TextCursorView::minimalSizeForOptimalDisplay() const {
return KDSize(1, 0);
return KDSize(k_width, 0);
}