We have moved to a new Sailfish OS Forum. Please start new discussions there.
1

No verticalAlignment in Silica TextField

asked 2019-09-06 14:47:32 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2019-09-06 14:47:32 +0200

Tanghus gravatar image

"Normal" QML TextField has a verticalAlignment property.

Why doesn't Silica?

I need it

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
0

answered 2019-09-06 14:59:14 +0200

coderus gravatar image

updated 2019-09-06 17:43:48 +0200

on_EditorChanged: _editor.verticalAlignment = TextInput.AlignBottom

previous suggestion (not working):

_editor.verticalAlignment: TextInput.AlignBottom
edit flag offensive delete publish link more

Comments

Except it isn't there either

Cannot assign to non-existent property "verticalAlignment" _editor.verticalAlignment: TextInput.AlignTop

Somewhere it needs aliasing maybe?

Tanghus ( 2019-09-06 15:18:56 +0200 )edit

what sailfishos version you using?

coderus ( 2019-09-06 17:25:22 +0200 )edit

check TextField.qml on device, it should have _editor: textInput, otherwise it wont work

coderus ( 2019-09-06 17:27:24 +0200 )edit

The build directory says 3.1.0.12, but the the says 3.1.0.11.

Tanghus ( 2019-09-06 17:28:37 +0200 )edit

Looking... Where is it located?

Tanghus ( 2019-09-06 17:29:41 +0200 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2019-09-06 14:47:32 +0200

Seen: 255 times

Last updated: Sep 06 '19