From 2f3bf400cf263772ea0a5f3e1d54cbe63ebd3b2e Mon Sep 17 00:00:00 2001
From: wwjjbb <dxt.wjb@gmail.com>
Date: Fri, 14 Jul 2017 15:32:13 +0100
Subject: [PATCH] Text was a bit close to the edges so add padding to the
 widget's grid

Also modified the debug launcher - don't need to hardwire the app name
---
 package/contents/ui/LunaWidget.qml | 3 ++-
 update                             | 5 ++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/package/contents/ui/LunaWidget.qml b/package/contents/ui/LunaWidget.qml
index 4a27955..33951fb 100644
--- a/package/contents/ui/LunaWidget.qml
+++ b/package/contents/ui/LunaWidget.qml
@@ -19,7 +19,7 @@
 
 */
 
-import QtQuick 2.1
+import QtQuick 2.7
 import QtQuick.Layouts 1.2 as QtLayouts
 import org.kde.plasma.components 2.0 as PlasmaComponents
 import org.kde.plasma.plasmoid 2.0
@@ -109,6 +109,7 @@ Item {
         Grid {
             id: labelArea
             columns: 2
+            padding: 10
             flow: Grid.LeftToRight
             PlasmaComponents.Label {
                 id: lastNewLabel
diff --git a/update b/update
index 6f4c4cb..c5a75d3 100755
--- a/update
+++ b/update
@@ -1,5 +1,8 @@
 #!/bin/bash
 
+METADATA="package/metadata.desktop"
+APPNAME=$(grep "X-KDE-PluginInfo-Name" $METADATA | sed 's/.*=//')
+
 if [[ $1 == --install ]]; then
     plasmapkg2 --install package
 else
@@ -10,4 +13,4 @@ echo
 echo '------------------------------------------------'
 echo
 
-plasmoidviewer -a org.kde.userbase.plasma.luna-ii
+plasmoidviewer -a $APPNAME
-- 
GitLab