1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-09-02 18:33:16 +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 { Row {
height: artistInputField.height height: artistInputField.height
width: parent.width width: parent.width
spacing: defaultFontHeight spacing: defaultFontHeight * 0.5
InputField { InputField {
id: artistInputField id: artistInputField
@@ -38,10 +38,9 @@ Item {
onAccepted: createStation(text) onAccepted: createStation(text)
} }
RoundedButton { PushButton {
id: createFromInputButton id: createFromInputButton
text: ">" text: "Go!"
height: artistInputField.height
enabled: artistInputField.text.length > 2 enabled: artistInputField.text.length > 2
onClicked: createStation(artistInputField.text) onClicked: createStation(artistInputField.text)
} }

View File

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