From 078965f2bc3a9cf32d83ae27514a3c772a1f476e Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Sun, 16 Dec 2012 17:35:28 +0100 Subject: [PATCH] use pushbuttons also in createpages --- data/qml/stations/CreateByArtist.qml | 7 +++---- data/qml/stations/CreateByGenre.qml | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/data/qml/stations/CreateByArtist.qml b/data/qml/stations/CreateByArtist.qml index 31495a6a6..e306f1d79 100644 --- a/data/qml/stations/CreateByArtist.qml +++ b/data/qml/stations/CreateByArtist.qml @@ -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) } diff --git a/data/qml/stations/CreateByGenre.qml b/data/qml/stations/CreateByGenre.qml index 0872fdf79..a30c9355f 100644 --- a/data/qml/stations/CreateByGenre.qml +++ b/data/qml/stations/CreateByGenre.qml @@ -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)