summaryrefslogtreecommitdiff
path: root/modules/lock/Fetch.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/lock/Fetch.qml')
-rw-r--r--modules/lock/Fetch.qml24
1 files changed, 19 insertions, 5 deletions
diff --git a/modules/lock/Fetch.qml b/modules/lock/Fetch.qml
index 755e7f8..815807b 100644
--- a/modules/lock/Fetch.qml
+++ b/modules/lock/Fetch.qml
@@ -87,12 +87,26 @@ ColumnLayout {
Layout.leftMargin: iconLoader.active ? 0 : width * 0.1
spacing: Appearance.spacing.normal
- FetchText {
- text: `OS : ${SysInfo.osPrettyName || SysInfo.osName}`
+ Loader {
+ Layout.fillWidth: true
+ asynchronous: true
+ active: root.height > 200
+ visible: active
+
+ sourceComponent: FetchText {
+ text: `OS : ${SysInfo.osPrettyName || SysInfo.osName}`
+ }
}
- FetchText {
- text: `WM : ${SysInfo.wm}`
+ Loader {
+ Layout.fillWidth: true
+ asynchronous: true
+ active: root.height > 110
+ visible: active
+
+ sourceComponent: FetchText {
+ text: `WM : ${SysInfo.wm}`
+ }
}
FetchText {
@@ -109,7 +123,7 @@ ColumnLayout {
Layout.alignment: Qt.AlignHCenter
asynchronous: true
- active: root.height > 220
+ active: root.height > 180
visible: active
sourceComponent: RowLayout {