From 9663b7b5c1a051b46a731b0587a4623a2ab21b0d Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Tue, 3 Feb 2015 17:26:08 +0100 Subject: [PATCH] TextInput: update the baseline offset when vertical alignment changes Change-Id: I2153e879c7ad8b770d5ca47dac68f994bb171b2d Reviewed-by: Alan Alpert --- src/quick/items/qquicktextinput.cpp | 1 + 1 file changed, 1 insertion(+) 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(); } } -- 2.7.4