From bef66ac40a980358c4c794ea350d1f2016f21823 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 18 Apr 2025 09:27:58 +0200 Subject: [PATCH] fix ugly dialog text field --- .../modules/common/widgets/StyledTabButton.qml | 4 ++-- .../modules/sidebarRight/todo/TodoWidget.qml | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.config/quickshell/modules/common/widgets/StyledTabButton.qml b/.config/quickshell/modules/common/widgets/StyledTabButton.qml index 704aae643..40d89c42f 100644 --- a/.config/quickshell/modules/common/widgets/StyledTabButton.qml +++ b/.config/quickshell/modules/common/widgets/StyledTabButton.qml @@ -28,8 +28,8 @@ TabButton { } } - border.color: button.activeFocus ? Appearance.m3colors.m3secondary : Appearance.transparentize(Appearance.m3colors.m3secondary, 1) - border.width: button.activeFocus ? 2 : 0 + // border.color: button.activeFocus ? Appearance.m3colors.m3secondary : Appearance.transparentize(Appearance.m3colors.m3secondary, 1) + // border.width: button.activeFocus ? 2 : 0 } contentItem: Item { anchors.centerIn: buttonBackground diff --git a/.config/quickshell/modules/sidebarRight/todo/TodoWidget.qml b/.config/quickshell/modules/sidebarRight/todo/TodoWidget.qml index 92b33c6f3..bf46fb7ee 100644 --- a/.config/quickshell/modules/sidebarRight/todo/TodoWidget.qml +++ b/.config/quickshell/modules/sidebarRight/todo/TodoWidget.qml @@ -252,13 +252,13 @@ Item { focus: root.showAddDialog onAccepted: dialog.addTask() - // background: Rectangle { - // anchors.fill: parent - // radius: Appearance.rounding.verysmall - // border.width: 2 - // border.color: todoInput.activeFocus ? Appearance.m3colors.m3primary : Appearance.m3colors.m3outline - // color: "transparent" - // } + background: Rectangle { + anchors.fill: parent + radius: Appearance.rounding.verysmall + border.width: 2 + border.color: todoInput.activeFocus ? Appearance.m3colors.m3primary : Appearance.m3colors.m3outline + color: "transparent" + } cursorDelegate: Rectangle { width: 1