mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 17:43:59 +02:00
changed startByGenre to according to the mockup
This commit is contained in:
@@ -52,8 +52,9 @@ Item {
|
|||||||
|
|
||||||
Row {
|
Row {
|
||||||
height: artistInputField.height
|
height: artistInputField.height
|
||||||
width: parent.width
|
width: Math.min(defaultFontHeight * 30, parent.width)
|
||||||
spacing: defaultFontHeight * 0.5
|
spacing: defaultFontHeight * 0.5
|
||||||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
|
||||||
InputField {
|
InputField {
|
||||||
id: artistInputField
|
id: artistInputField
|
||||||
|
@@ -45,13 +45,12 @@ Item {
|
|||||||
|
|
||||||
HeaderLabel {
|
HeaderLabel {
|
||||||
id: headerText
|
id: headerText
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
text: "Enter a genre,"
|
||||||
text: "Enter or pick a genre"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Row {
|
Row {
|
||||||
width: defaultFontHeight * 30
|
width: Math.min(defaultFontHeight * 30, parent.width)
|
||||||
height: genreInputField.height
|
height: parent.height * 0.2
|
||||||
spacing: defaultFontHeight * 0.5
|
spacing: defaultFontHeight * 0.5
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
|
||||||
@@ -64,16 +63,21 @@ Item {
|
|||||||
|
|
||||||
PushButton {
|
PushButton {
|
||||||
id: createFromInputButton
|
id: createFromInputButton
|
||||||
text: "Go!"
|
text: "Create station"
|
||||||
height: genreInputField.height
|
height: genreInputField.height
|
||||||
enabled: genreInputField.text.length > 2
|
enabled: genreInputField.text.length > 2
|
||||||
onClicked: createStation(genreInputField.text)
|
onClicked: createStation(genreInputField.text)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HeaderLabel {
|
||||||
|
text: "Or, pick one of your most listened genres"
|
||||||
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
height: parent.height - headerText.height - genreInputField.height
|
height: parent.height - y
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
clip: true
|
||||||
TagCloud {
|
TagCloud {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: parent.width / 6
|
anchors.margins: parent.width / 6
|
||||||
|
@@ -33,7 +33,7 @@ Item {
|
|||||||
color: "gray"
|
color: "gray"
|
||||||
//text: controlModel.controlAt( index ).summary
|
//text: controlModel.controlAt( index ).summary
|
||||||
text: modelData
|
text: modelData
|
||||||
font.pointSize: 16
|
font.pixelSize: defaultFontHeight * 1.8
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
//anchors.verticalCenterOffset: tagCloud.randomNumber(0, 15)
|
//anchors.verticalCenterOffset: tagCloud.randomNumber(0, 15)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user