why property x:width/2 is not same in Qt for android and desktop?
Unsolved
QML and Qt Quick
-
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 -
@stackprogramer
Hi,
can you send some code, else not easy to see what is wrong. Thanks
Sincerely -
@stackprogramer
Just anchor your elements.anchors.centerIn: parent