JasmineSethi last edited by
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.