my code:
import QtQuick 2.3
import QtQuick.Window 2.1
Window {
visible: true
width: 625
height: 420
Rectangle {
id: aval
width: 325
height: 200
color: "#7483f2"
border.width: 1
border.color: "red"
radius:20
anchors.centerIn: parent
Rectangle {
id: doo
width: 323
height: 20
color: "#7483f2"
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.bottom
anchors.bottomMargin: 2
}
}
}
import QtQuick 2.3
import QtQuick.Window 2.1
Window {
visible: true
width: 625
height: 420
Rectangle {
id: aval
width: 325
height: 200
color: "#7483f2"
border.width: 1
border.color: "red"
radius:20
anchors.centerIn: parent
Rectangle {
id: doo
width: 323
height: 20
color: "#7483f2"
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.bottom
anchors.bottomMargin: 2
}
}
}
To copy to clipboard, switch view to plain text mode
border.png
Bookmarks