1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-09-09 05:30:52 +02:00

reworked buttons

This commit is contained in:
Michael Zanetti
2012-12-16 17:25:19 +01:00
parent 37996178b7
commit 1486a6a200
5 changed files with 77 additions and 20 deletions

View File

@@ -38,11 +38,13 @@ Rectangle {
anchors.rightMargin: root.spacing
height: textInput.height
anchors.verticalCenter: parent.verticalCenter
TextInput {
id: textInput
width: parent.width
anchors.centerIn: parent
text: root.text
font.pointSize: defaultFontSize
onAccepted: root.accepted( text );
onTextChanged: root.text = text;
@@ -52,6 +54,7 @@ Rectangle {
anchors.centerIn: parent
text: root.text.length === 0 ? root.placeholderText : ""
color: "lightgray"
font.pointSize: defaultFontSize
}
}