From 11e48b6ed193a243a3f257ddcee8a992d5923679 Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Tue, 4 Jan 2022 12:56:35 -0700 Subject: [PATCH] kcms/nightcolor: re-arrange properties for location services message GIT_SILENT --- kcms/nightcolor/package/contents/ui/main.qml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/kcms/nightcolor/package/contents/ui/main.qml b/kcms/nightcolor/package/contents/ui/main.qml index 250fe6887..680a8a336 100644 --- a/kcms/nightcolor/package/contents/ui/main.qml +++ b/kcms/nightcolor/package/contents/ui/main.qml @@ -174,13 +174,17 @@ KCM.SimpleKCM { // Inform about geolocation access in auto mode QQC2.Label { + Layout.maximumWidth: modeSwitcher.width + visible: modeSwitcher.currentIndex === NightColorMode.Automatic enabled: activator.checked + wrapMode: Text.Wrap - Layout.maximumWidth: modeSwitcher.width + text: xi18nc("@info", "The device's location will be periodically updated using GPS (if available), or by sending network information to Mozilla Location Service.") - onLinkActivated: (url) => Qt.openUrlExternally(url) font: Kirigami.Theme.smallFont + + onLinkActivated: (url) => Qt.openUrlExternally(url) } // Workaround for Layout.margins not working in Kirigami FormLayout (bug 434625)