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

use pushbuttons also in createpages

This commit is contained in:
Michael Zanetti
2012-12-16 17:35:28 +01:00
parent 76b6fb49a9
commit 078965f2bc
2 changed files with 6 additions and 7 deletions

View File

@@ -29,7 +29,7 @@ Item {
Row {
height: artistInputField.height
width: parent.width
spacing: defaultFontHeight
spacing: defaultFontHeight * 0.5
InputField {
id: artistInputField
@@ -38,10 +38,9 @@ Item {
onAccepted: createStation(text)
}
RoundedButton {
PushButton {
id: createFromInputButton
text: ">"
height: artistInputField.height
text: "Go!"
enabled: artistInputField.text.length > 2
onClicked: createStation(artistInputField.text)
}

View File

@@ -52,7 +52,7 @@ Item {
Row {
width: defaultFontHeight * 30
height: artistInputField.height
spacing: defaultFontHeight
spacing: defaultFontHeight * 0.5
anchors.horizontalCenter: parent.horizontalCenter
InputField {
@@ -62,9 +62,9 @@ Item {
onAccepted: createStation(text);
}
RoundedButton {
PushButton {
id: createFromInputButton
text: ">"
text: "Go!"
height: genreInputField.height
enabled: genreInputField.text.length > 2
onClicked: createStation(genreInputField.text)