monero-gui/components/LineEdit.qml

29 lines
516 B
QML
Raw Normal View History

2014-07-07 17:08:30 +00:00
import QtQuick 2.0
Item {
property alias placeholderText: input.placeholderText
property alias text: input.text
height: 37
Rectangle {
anchors.fill: parent
anchors.bottomMargin: 1
color: "#DBDBDB"
radius: 4
}
Rectangle {
anchors.fill: parent
anchors.topMargin: 1
color: "#FFFFFF"
radius: 4
}
Input {
id: input
anchors.fill: parent
anchors.leftMargin: 4
anchors.rightMargin: 4
2014-07-07 17:08:30 +00:00
}
}