Skip to content

Commit 2f3bf40

Browse files
committed
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
1 parent 9454d16 commit 2f3bf40

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

package/contents/ui/LunaWidget.qml

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
2020
*/
2121

22-
import QtQuick 2.1
22+
import QtQuick 2.7
2323
import QtQuick.Layouts 1.2 as QtLayouts
2424
import org.kde.plasma.components 2.0 as PlasmaComponents
2525
import org.kde.plasma.plasmoid 2.0
@@ -109,6 +109,7 @@ Item {
109109
Grid {
110110
id: labelArea
111111
columns: 2
112+
padding: 10
112113
flow: Grid.LeftToRight
113114
PlasmaComponents.Label {
114115
id: lastNewLabel

update

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
22

3+
METADATA="package/metadata.desktop"
4+
APPNAME=$(grep "X-KDE-PluginInfo-Name" $METADATA | sed 's/.*=//')
5+
36
if [[ $1 == --install ]]; then
47
plasmapkg2 --install package
58
else
@@ -10,4 +13,4 @@ echo
1013
echo '------------------------------------------------'
1114
echo
1215

13-
plasmoidviewer -a org.kde.userbase.plasma.luna-ii
16+
plasmoidviewer -a $APPNAME

0 commit comments

Comments
 (0)