aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Panel.qml
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-02-02 13:51:27 -0500
committerKen Moore <ken@ixsystems.com>2018-02-02 13:51:27 -0500
commit9001eb57798a6c1fb02f811c08b7fd1520564974 (patch)
tree62d3db3028aa569dd6188af82ec94490b8408ecd /src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Panel.qml
parentOops - accidentally left a code stub for some later work... (diff)
downloadlumina-9001eb57798a6c1fb02f811c08b7fd1520564974.tar.gz
lumina-9001eb57798a6c1fb02f811c08b7fd1520564974.tar.bz2
lumina-9001eb57798a6c1fb02f811c08b7fd1520564974.zip
Add a new "Clock_Digital" plugin
Also ensure the panel plugins are fit to the width/height depending on the type of panel (vertical/horizontal)
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Panel.qml')
-rw-r--r--src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Panel.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Panel.qml b/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Panel.qml
index 44abb425..48046648 100644
--- a/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Panel.qml
+++ b/src-qt5/core/lumina-desktop-unified/src-desktop/src-qml/Panel.qml
@@ -33,6 +33,14 @@ Rectangle {
//hardcode the "status_tray" plugin at the moment
PLUGINS.StatusTray{
id: "statustray"
+ Layout.fillHeight: layout.parent.object.isVertical ? false : true
+ Layout.fillWidth: layout.parent.object.isVertical ? true : false
+
+ }
+ PLUGINS.Clock_Digital{
+ id: "clock"
+ Layout.fillHeight: layout.parent.object.isVertical ? false : true
+ Layout.fillWidth: layout.parent.object.isVertical ? true : false
}
}
bgstack15