Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Text Alignment
-
How to align Text without giving hard code value like (anchors.leftMargin: 10)?
So that when screen size increases it maintains the exact left and top margin.
-
@JasmineSethi by assigning a ratio depending on width/height ?
anchors.leftMarging: parent.width /20
You have to use the parent width, as the own width is calculated after reducing margins, which than would result in a binding loop.