diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-10-20 13:05:35 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-10-20 13:31:01 +0000 |
commit | 594f55333b04603cad63323fc478565743077db2 (patch) | |
tree | d7cd382d53fdef3ff304a2f874cbf7225e5a2d40 /src/imports/controls/TextArea.qml | |
parent | af531e14b31da62347fe489562951fdf7f378208 (diff) |
TextArea & TextField: fix placeholder alignment
Placeholder text should follow the alignment of the control itself,
so that text input appears in the same place where a placeholder was.
Change-Id: I1dfa6c2aece10eb92e62a14f347c7e1ec5e610ea
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/TextArea.qml')
-rw-r--r-- | src/imports/controls/TextArea.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/controls/TextArea.qml b/src/imports/controls/TextArea.qml index 10f06302..c4c7833d 100644 --- a/src/imports/controls/TextArea.qml +++ b/src/imports/controls/TextArea.qml @@ -63,6 +63,8 @@ T.TextArea { font: control.font color: control.Theme.disabledColor + horizontalAlignment: control.horizontalAlignment + verticalAlignment: control.verticalAlignment visible: !control.length elide: Text.ElideRight } |