I want to make the following image in the qml:
gerd.png
I want to make the following image in the qml:
gerd.png
Rectangle has a radius property.
Cheers,
_
ravandi (6th December 2015)
how is this?
gerd2.png
What do you mean?
Cheers,
_
I want to make this shap:
A rounded rect plus a non rounded rect overlapping the first rect's bottom part.
Cheers,
_
ravandi (6th December 2015)
my code:
border.pngQt 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 } } }To copy to clipboard, switch view to plain text mode
Ah, ok, your other image didn't have that partial overlap at the bottom, so I assumed you wanted the bottom corners to be classic rectangle corners.
Cheers,
_
ravandi (7th December 2015)
Bookmarks