diff options
| author | marcin <z.krzysztoff7@gmail.com> | 2014-07-07 19:08:30 +0200 |
|---|---|---|
| committer | marcin <z.krzysztoff7@gmail.com> | 2014-07-07 19:08:30 +0200 |
| commit | 62df25ce8e090f53aef822c2b22c754fd4fca3e1 (patch) | |
| tree | cf7af7fb5e3700dc26599f46aebf6676cb832a21 /components/TipItem.qml | |
| download | monzero-gui-62df25ce8e090f53aef822c2b22c754fd4fca3e1.tar.gz monzero-gui-62df25ce8e090f53aef822c2b22c754fd4fca3e1.tar.xz monzero-gui-62df25ce8e090f53aef822c2b22c754fd4fca3e1.zip | |
first push
Diffstat (limited to 'components/TipItem.qml')
| -rw-r--r-- | components/TipItem.qml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/components/TipItem.qml b/components/TipItem.qml new file mode 100644 index 00000000..1b2c0a38 --- /dev/null +++ b/components/TipItem.qml @@ -0,0 +1,26 @@ +import QtQuick 2.0 + +Rectangle { + property alias text: content.text + width: content.width + 12 + height: content.height + 17 + color: "#FF6C3C" + radius: 3 + + Image { + anchors.top: parent.bottom + anchors.left: parent.left + anchors.leftMargin: 8 + source: "../images/tip.png" + } + + Text { + id: content + anchors.horizontalCenter: parent.horizontalCenter + y: 6 + lineHeight: 0.7 + font.family: "Arial" + font.pixelSize: 12 + color: "#FFFFFF" + } +} |
