From 470769e9101b49a33938942ad504f0b905d8cd8e Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 5 Aug 2018 12:19:54 -0700 Subject: [PATCH] Replace running status text with app icon overlay --- app/gui/AppView.qml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/app/gui/AppView.qml b/app/gui/AppView.qml index d4f268a1..f661a92b 100644 --- a/app/gui/AppView.qml +++ b/app/gui/AppView.qml @@ -61,19 +61,21 @@ GridView { } } + Image { + id: runningIcon + anchors.centerIn: appIcon + visible: model.running + source: "qrc:/res/baseline-play_circle_filled_white-48px.svg" + sourceSize { + width: 75 + height: 75 + } + } + Text { id: appNameText - text: { - if (model.running) { - return "Running - " + model.name - } - else { - return model.name - } - } - + text: model.name color: "white" - width: parent.width height: 125 anchors.top: appIcon.bottom