forked from Public/monero-gui
first push
This commit is contained in:
26
components/TipItem.qml
Normal file
26
components/TipItem.qml
Normal file
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user