From: J-P Nurmi Date: Tue, 3 Feb 2015 16:26:08 +0000 (+0100) Subject: TextInput: update the baseline offset when vertical alignment changes X-Git-Tag: v5.5.90+alpha1~3^2~242^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9663b7b5c1a051b46a731b0587a4623a2ab21b0d;p=platform%2Fupstream%2Fqtdeclarative.git TextInput: update the baseline offset when vertical alignment changes Change-Id: I2153e879c7ad8b770d5ca47dac68f994bb171b2d Reviewed-by: Alan Alpert --- diff --git a/src/quick/items/qquicktextinput.cpp b/src/quick/items/qquicktextinput.cpp index a9c6027..c45f3dc 100644 --- a/src/quick/items/qquicktextinput.cpp +++ b/src/quick/items/qquicktextinput.cpp @@ -578,6 +578,7 @@ void QQuickTextInput::setVAlign(QQuickTextInput::VAlignment alignment) emit verticalAlignmentChanged(d->vAlign); if (isComponentComplete()) { updateCursorRectangle(); + d->updateBaselineOffset(); } }