mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-09-02 10:24:01 +02:00
minor fixes/workarounds
This commit is contained in:
@@ -65,7 +65,6 @@ Rectangle {
|
|||||||
GridView {
|
GridView {
|
||||||
id: gridView
|
id: gridView
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: cellWidth / 2
|
|
||||||
model: dummyArtistModel
|
model: dummyArtistModel
|
||||||
|
|
||||||
cellWidth: gridView.width / 4 - 1 // -1 to make sure there is space for 4 items even with rounding error
|
cellWidth: gridView.width / 4 - 1 // -1 to make sure there is space for 4 items even with rounding error
|
||||||
@@ -157,6 +156,7 @@ Rectangle {
|
|||||||
coverSize: Math.min(scene.height, scene.width) / 2
|
coverSize: Math.min(scene.height, scene.width) / 2
|
||||||
height: scene.height
|
height: scene.height
|
||||||
width: scene.width
|
width: scene.width
|
||||||
|
visible: stationListView.currentIndex == 1
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -169,7 +169,13 @@ Rectangle {
|
|||||||
orientation: ListView.Horizontal
|
orientation: ListView.Horizontal
|
||||||
model: stationVisualModel
|
model: stationVisualModel
|
||||||
interactive: false
|
interactive: false
|
||||||
highlightMoveDuration: 200
|
highlightMoveDuration: 300
|
||||||
|
|
||||||
|
onHeightChanged: {
|
||||||
|
contentHeight = scene.height
|
||||||
|
}
|
||||||
|
onWidthChanged: {
|
||||||
|
contentWidth = scene.width
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user