Like @wysota said:
Qt Code:
Rectangle { width: 100 height: 200 color: "blue" Rectangle { id: borderLeft width: 1 height: parent.height anchors.left: parent.left color: "red" } Rectangle { id: borderRight width: 1 height: parent.height anchors.right: parent.right color: "red" } }To copy to clipboard, switch view to plain text mode
Source: http://stackoverflow.com/questions/2...t-borders-show
Thanks
Bookmarks