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:
@@ -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)
|
||||||
}
|
}
|
||||||
|
@@ -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)
|
||||||
|
Reference in New Issue
Block a user