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)