From 5bec6594863a8509b18297889d7565c0bd80b465 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 14 Nov 2025 11:18:31 +0100 Subject: [PATCH] stickypad: remove redundant stuff, make clickable text area larger --- .../ii/overlay/stickypad/StickypadContent.qml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/ii/overlay/stickypad/StickypadContent.qml b/dots/.config/quickshell/ii/modules/ii/overlay/stickypad/StickypadContent.qml index 3f4818cb5..1dad37cd1 100644 --- a/dots/.config/quickshell/ii/modules/ii/overlay/stickypad/StickypadContent.qml +++ b/dots/.config/quickshell/ii/modules/ii/overlay/stickypad/StickypadContent.qml @@ -136,11 +136,8 @@ OverlayBackground { ColumnLayout { id: stickypadLayout - anchors { - fill: parent - margins: 16 - } - spacing: 10 + anchors.fill: parent + spacing: 0 ScrollView { id: editorScrollView @@ -162,11 +159,8 @@ OverlayBackground { persistentSelection: true textFormat: TextEdit.PlainText background: null - rightPadding: 44 - // Disable text area when clickthrough enabled - START - enabled: GlobalStates.overlayOpen || !root.isClickthrough - activeFocusOnTab: GlobalStates.overlayOpen || !root.isClickthrough - // Disable text area when clickthrough enabled - END + padding: 16 + rightPadding: 44 + padding onTextChanged: { if (stickypadInput.activeFocus) { @@ -263,6 +257,7 @@ OverlayBackground { StyledText { id: statusLabel Layout.fillWidth: true + Layout.margins: 16 horizontalAlignment: Text.AlignRight text: saveDebounce.running ? Translation.tr("Saving...") : Translation.tr("Saved ") color: Appearance.colors.colSubtext