From 02afa37da157579842f61ed7c6b5314c12e3c3f3 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 14 Nov 2025 13:34:12 +0100 Subject: [PATCH] stickypad: adjust spacing --- .../ii/modules/ii/overlay/stickypad/StickypadContent.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 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 22c467bf8..364df7bc0 100644 --- a/dots/.config/quickshell/ii/modules/ii/overlay/stickypad/StickypadContent.qml +++ b/dots/.config/quickshell/ii/modules/ii/overlay/stickypad/StickypadContent.qml @@ -113,6 +113,7 @@ OverlayBackground { const rangeEnd = Math.max(selectionStart, selectionEnd); const entries = parsedCopylistLines.map(line => { + // Don't show copy button if line is (partially) selected const caretIntersects = rangeEnd > line.start && rangeStart <= line.end; if (caretIntersects) return null; @@ -137,7 +138,7 @@ OverlayBackground { ColumnLayout { id: stickypadLayout anchors.fill: parent - spacing: 0 + spacing: -16 ScrollView { id: editorScrollView @@ -147,7 +148,7 @@ OverlayBackground { ScrollBar.vertical.policy: ScrollBar.AsNeeded onWidthChanged: root.scheduleCopylistUpdate(true) - StyledTextArea { + StyledTextArea { // This has to be a direct child of ScrollView for proper scrolling id: stickypadInput anchors { left: parent.left