Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 68

Android Deployment • Setting a verticalTextAlign property to an Android Input Field

$
0
0
Hii Guys!

I am trying to set the properties of an Android Input field by using "verticalTextAlign" property. I have used the following:

CODE:

   mobileControlCreate "input", "UsernameEdit"   mobileControlSet "UsernameEdit", "rect", "781,367,1131,406"    mobileControlSet "UsernameEdit", "textAlign", "center"   mobileControlSet "UsernameEdit", "visible", true

I want to set the verticalTextAlign to "middle", I have tried these:

CODE:

   mobileControlSet "UsernameEdit", "verticalTextAlign", "middle"   set the verticalTextAlign of widget "UsernameEdit" to "middle"
Am I doing something wrong or does LiveCode not allow me to set the verticalTextAlign within a widget?

All replies are greatly received!

Thanks,

Googie.

Statistics: Posted by Googie85 — Sun Aug 04, 2024 12:58 am — Replies 0 — Views 16



Viewing all articles
Browse latest Browse all 68

Trending Articles