Setting a verticalTextAlign property to an Android Input Field
Posted: Sun Aug 04, 2024 12:58 am
Hii Guys!
I am trying to set the properties of an Android Input field by using "verticalTextAlign" property. I have used the following:
I want to set the verticalTextAlign to "middle", I have tried these:
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.
I am trying to set the properties of an Android Input field by using "verticalTextAlign" property. I have used the following:
Code: Select all
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: Select all
mobileControlSet "UsernameEdit", "verticalTextAlign", "middle"
set the verticalTextAlign of widget "UsernameEdit" to "middle"
All replies are greatly received!
Thanks,
Googie.