Commit f75a6d46 authored by Chupligin Sergey's avatar Chupligin Sergey

[AppLauncher] fix folder view

parent 50656a80
...@@ -70,6 +70,7 @@ Item { ...@@ -70,6 +70,7 @@ Item {
anchors.fill: parent anchors.fill: parent
opacity: 0.75 opacity: 0.75
color: "white" color: "white"
z: -1
} }
delegate: MouseArea { delegate: MouseArea {
...@@ -77,7 +78,21 @@ Item { ...@@ -77,7 +78,21 @@ Item {
height: gridview.cellHeight height: gridview.cellHeight
Image { Image {
id: iconimage id: iconimage
source: source source: model.object.iconId
anchors {
horizontalCenter: parent.horizontalCenter
top: parent.top
topMargin: 8
}
width: gridview.cellWidth - gridview.cellWidth/10
height: width
asynchronous: true
Spinner {
id: spinner
anchors.centerIn: parent
enabled: (model.object.type === LauncherModel.Application) ? model.object.isLaunching : false
}
} }
Text { Text {
...@@ -87,13 +102,14 @@ Item { ...@@ -87,13 +102,14 @@ Item {
elide: Text.ElideRight elide: Text.ElideRight
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
font.pixelSize: gridview.cellWidth/10 font.pixelSize: gridview.cellWidth/10
color: 'white' color: 'black'
anchors { anchors {
left: parent.left left: parent.left
right: parent.right right: parent.right
top: iconimage.bottom top: iconimage.bottom
topMargin: 5 topMargin: 5
} }
text: model.object.title
} }
onClicked: { onClicked: {
model.object.launchApplication() model.object.launchApplication()
......
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