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