Commit 6a8d4af3 authored by Camilo Higuita's avatar Camilo Higuita

add album svg asset for better contrast on dark themes

parent 99293073
......@@ -8,5 +8,6 @@
<file>assets/tag.svg</file>
<file>assets/album_bg_normal.png</file>
<file>assets/banner.png</file>
<file>assets/album.svg</file>
</qresource>
</RCC>
This diff is collapsed.
......@@ -56,7 +56,7 @@ Item
anchors.top: imageHolder.bottom
opacity: 0.3
text: message ? qsTr(message) : qsTr("Nothing here...")
font.pointSize: fontSizes.small
font.pointSize: fontSizes.default
padding: space.medium
font.bold: true
......
......@@ -10,7 +10,6 @@ ToolBar
position: ToolBar.Header
property string accentColor : pix.pixColor()
property string textColor : textColor
property int currentIndex : 0
......
......@@ -32,7 +32,7 @@ ItemDelegate
Image
{
anchors.centerIn: parent
source: "qrc:/img/assets/album_bg_normal.png"
source: "qrc:/img/assets/album.svg"
height: albumSize
sourceSize.height: albumSize
......@@ -47,12 +47,15 @@ ItemDelegate
Item
{
Layout.fillWidth: true
Layout.fillHeight: true
Layout.maximumHeight: parent.height * 0.3
Layout.alignment: Qt.AlignTop
Label
{
text: album
width: parent.width *0.8
width: parent.width * 0.8
height: parent.height
anchors.centerIn: parent
verticalAlignment: Qt.AlignVCenter
horizontalAlignment: Qt.AlignHCenter
......
......@@ -7,7 +7,7 @@ GridView
id: albumsGridRoot
property int itemSize : iconSizes.huge
property int itemSpacing: itemSize*0.5 + space.small
property int itemSpacing: itemSize * 0.5 + (isMobile ? space.big : space.large)
property string currentAlbum : ""
......@@ -43,7 +43,8 @@ GridView
albumSize : itemSize
width: cellWidth
height: cellHeight
height: cellHeight * 0.9
Connections
{
target: delegate
......
......@@ -8,7 +8,7 @@ GridView
id: folderGridRoot
property int itemSize : iconSizes.large
property int itemSpacing: itemSize * 0.5 + (isMobile ? space.small : space.big)
property int itemSpacing: itemSize * 0.5 + (isMobile ? space.big : space.large)
signal folderClicked(int index)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment