Fix warning: The current style does not support customization of this control (property: "background").

Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Camila Ayres 2024-08-29 16:46:07 +02:00 committed by Matthieu Gallien
parent 24e1606d6a
commit 4f7b73cb70
4 changed files with 0 additions and 32 deletions

View file

@ -53,12 +53,6 @@ TextEdit {
width: height
height: parent.height
// TODO: the current style does not support customization of this control
Rectangle {
radius: width / 2
color: textFieldBorder.color
}
flat: true
icon.source: "image://svgimage-custom-color/confirm.svg" + "/" + root.secondaryColor
icon.color: hovered && enabled ? UserModel.currentUser.accentColor : root.secondaryColor

View file

@ -33,15 +33,6 @@ TextField {
selectByMouse: true
// TODO: the current style does not support customization of this control
background: Rectangle {
id: textFieldBorder
radius: Style.slightlyRoundedButtonRadius
border.width: Style.normalBorderWidth
border.color: root.activeFocus ? root.validInput ? root.accentColor : Style.errorBoxBackgroundColor : root.secondaryColor
color: palette.base
}
Button {
id: submitButton

View file

@ -17,15 +17,6 @@ TextField {
onAccepted: sendReplyMessage()
// TODO
// background: Rectangle {
// id: replyMessageTextFieldBorder
// radius: width / 2
// border.width: Style.normalBorderWidth
// border.color: replyMessageTextField.activeFocus ? UserModel.currentUser.accentColor : palette.dark
// color: palette.window
// }
Button {
id: sendReplyMessageButton

View file

@ -45,14 +45,6 @@ TextField {
selectByMouse: true
// TODO
// background: Rectangle {
// radius: Style.slightlyRoundedButtonRadius
// border.color: parent.activeFocus ? UserModel.currentUser.accentColor : palette.dark
// border.width: Style.normalBorderWidth
// color: palette.window
// }
Image {
id: trayWindowUnifiedSearchTextFieldSearchIcon
width: Style.trayListItemIconSize - anchors.leftMargin