Hi,
I have Row and has 3 items in it. The 2 text and 1 image. I need the text-1 to be anchor to the left and the text-2 to right.
I try left and right Margin and is not working. How to anchor items in row?
Row {
Text {
id: text1
text: "Text 1"
anchors.leftMargin: dp(10)
}
Image {
id: image1
source: "../assets/vplay-logo.png"
anchors.horizontalCenter: parent.horizontalCenter
}
Text {
id: text2
text: "Text 2"
anchors.rightMargin: dp(10)
}
}