mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-09-02 10:24:01 +02:00
binding loop warnings--
This commit is contained in:
@@ -4,12 +4,16 @@ import "tomahawkimports"
|
|||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: stationCreator
|
id: stationCreator
|
||||||
|
|
||||||
|
property int spacing: width * .05
|
||||||
|
|
||||||
Flickable {
|
Flickable {
|
||||||
id: flickArea
|
id: flickArea
|
||||||
|
width: parent.width - stationCreator.spacing
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
contentHeight: mainGrid.height
|
anchors.margins: stationCreator.spacing
|
||||||
|
contentHeight: stationCreator.height
|
||||||
contentWidth: width
|
contentWidth: width
|
||||||
anchors.margins: mainGrid.spacing
|
|
||||||
clip: true
|
clip: true
|
||||||
interactive: false
|
interactive: false
|
||||||
|
|
||||||
@@ -28,7 +32,7 @@ Item {
|
|||||||
Grid {
|
Grid {
|
||||||
id: mainGrid
|
id: mainGrid
|
||||||
width: parent.width
|
width: parent.width
|
||||||
spacing: width * .05
|
spacing: stationCreator.spacing
|
||||||
columns: 2
|
columns: 2
|
||||||
height: rowHeight * 3 + spacing * 2
|
height: rowHeight * 3 + spacing * 2
|
||||||
|
|
||||||
@@ -116,9 +120,8 @@ Item {
|
|||||||
|
|
||||||
TagCloud {
|
TagCloud {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.topMargin: selectGenreText.height * 2
|
|
||||||
model: styleModel//generator.styles()
|
model: styleModel//generator.styles()
|
||||||
opacity: echonestStation.configured ? 0 : 1
|
|
||||||
|
|
||||||
onTagClicked: {
|
onTagClicked: {
|
||||||
rootView.startStationFromGenre(item)
|
rootView.startStationFromGenre(item)
|
||||||
@@ -238,8 +241,7 @@ Item {
|
|||||||
RoundedButton {
|
RoundedButton {
|
||||||
anchors {
|
anchors {
|
||||||
top: parent.top
|
top: parent.top
|
||||||
right: parent.right
|
horizontalCenter: parent.horizontalCenter
|
||||||
rightMargin: width / 3
|
|
||||||
}
|
}
|
||||||
height: orText.height * 3
|
height: orText.height * 3
|
||||||
width: height * 3
|
width: height * 3
|
||||||
@@ -253,8 +255,7 @@ Item {
|
|||||||
RoundedButton {
|
RoundedButton {
|
||||||
anchors {
|
anchors {
|
||||||
bottom: parent.bottom
|
bottom: parent.bottom
|
||||||
right: parent.right
|
horizontalCenter: parent.horizontalCenter
|
||||||
rightMargin: width / 3
|
|
||||||
}
|
}
|
||||||
height: orText.height * 3
|
height: orText.height * 3
|
||||||
width: height * 3
|
width: height * 3
|
||||||
|
Reference in New Issue
Block a user