From 6f7b501430a61fb4e5a8357db7e03b26d241c962 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 15 Nov 2025 08:16:30 +0100 Subject: [PATCH] fix weird notes text area sizing --- .../ii/modules/ii/overlay/notes/NotesContent.qml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/ii/overlay/notes/NotesContent.qml b/dots/.config/quickshell/ii/modules/ii/overlay/notes/NotesContent.qml index dfcc4e052..e52c226b1 100644 --- a/dots/.config/quickshell/ii/modules/ii/overlay/notes/NotesContent.qml +++ b/dots/.config/quickshell/ii/modules/ii/overlay/notes/NotesContent.qml @@ -136,6 +136,9 @@ OverlayBackground { root.copyListEntries = entries; } + implicitWidth: 300 + implicitHeight: 200 + ColumnLayout { id: contentItem anchors.fill: parent @@ -161,8 +164,7 @@ OverlayBackground { persistentSelection: true textFormat: TextEdit.PlainText background: null - padding: 16 - rightPadding: root.maxCopyButtonSize + padding + padding: 24 onTextChanged: { if (textInput.activeFocus) { @@ -179,7 +181,7 @@ OverlayBackground { } Item { - anchors.fill: textInput + anchors.fill: parent visible: root.copyListEntries.length > 0 clip: true @@ -200,7 +202,7 @@ OverlayBackground { buttonRadius: height / 2 y: modelData.y anchors.right: parent.right - anchors.rightMargin: 16 + anchors.rightMargin: 10 z: 5 Timer {