fix ugly dialog text field

This commit is contained in:
end-4
2025-04-18 09:27:58 +02:00
parent 75bf5028fd
commit bef66ac40a
2 changed files with 9 additions and 9 deletions
@@ -28,8 +28,8 @@ TabButton {
} }
} }
border.color: button.activeFocus ? Appearance.m3colors.m3secondary : Appearance.transparentize(Appearance.m3colors.m3secondary, 1) // border.color: button.activeFocus ? Appearance.m3colors.m3secondary : Appearance.transparentize(Appearance.m3colors.m3secondary, 1)
border.width: button.activeFocus ? 2 : 0 // border.width: button.activeFocus ? 2 : 0
} }
contentItem: Item { contentItem: Item {
anchors.centerIn: buttonBackground anchors.centerIn: buttonBackground
@@ -252,13 +252,13 @@ Item {
focus: root.showAddDialog focus: root.showAddDialog
onAccepted: dialog.addTask() onAccepted: dialog.addTask()
// background: Rectangle { background: Rectangle {
// anchors.fill: parent anchors.fill: parent
// radius: Appearance.rounding.verysmall radius: Appearance.rounding.verysmall
// border.width: 2 border.width: 2
// border.color: todoInput.activeFocus ? Appearance.m3colors.m3primary : Appearance.m3colors.m3outline border.color: todoInput.activeFocus ? Appearance.m3colors.m3primary : Appearance.m3colors.m3outline
// color: "transparent" color: "transparent"
// } }
cursorDelegate: Rectangle { cursorDelegate: Rectangle {
width: 1 width: 1