Skip to content

Instantly share code, notes, and snippets.

@scmanjarrez
Last active June 19, 2022 12:43
Show Gist options
  • Save scmanjarrez/fcbcb5f9b94a29e745b0896c8393a8c5 to your computer and use it in GitHub Desktop.
Save scmanjarrez/fcbcb5f9b94a29e745b0896c8393a8c5 to your computer and use it in GitHub Desktop.
import QtQuick 2.12
Rectangle {
property var toFill: parent // instantiation site "can" (optionally) override
property color customColor: 'yellow' // instantiation site "can" (optionally) override
property int customThickness: 1 // instantiation site "can" (optionally) override
anchors.fill: toFill
z: 200
color: 'transparent'
border.color: customColor
border.width: customThickness
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment