mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 04:55:48 +03:00
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:
parent
24e1606d6a
commit
4f7b73cb70
4 changed files with 0 additions and 32 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue