why property x:width/2 is not same in Qt for android and desktop?
stackprogramer last edited by stackprogramer
hi,main is a id of window that my app is start with it..
in my app i uses property x:main.width/2 for position of my type text in QML.
in desktop mode texts are in middle of window...
please see image
now for android
how i can create same result in two platform...
thanks for attention
archqt last edited by
can you send some code, else not easy to see what is wrong. Thanks
Just anchor your elements.