Remove background from textfields to fix errors
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Mon, 21 Oct 2024 03:15:22 +0000 (11:15 +0800)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Mon, 18 Nov 2024 08:59:19 +0000 (09:59 +0100)
Fixes the following errors:

ShareeSearchField.qml:53:17: QML QQuickRectangle: The current style does
not support customization of this control (property: "background" item:
QQuickRectangle(0x600001d42140, parent=0x0, geometry=0,0 0x0)).

NCInputTextField.qml:57:17: QML QQuickRectangle: The current style does
not support customization of this control (property: "background" item:
QQuickRectangle(0x600001d42220, parent=0x0, geometry=0,0 0x0)).

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/filedetails/NCInputTextField.qml
src/gui/filedetails/ShareeSearchField.qml

index 27c4236aa16432dcf3659bbf1240106ab2f3f536..6a9b9f17023a4f18bcb8a933836b285e11a2954a 100644 (file)
@@ -54,10 +54,5 @@ TextField {
     }
 
     verticalAlignment: Qt.AlignVCenter
-    background: Rectangle {
-        border.color: palette.dark
-        radius: Style.trayWindowRadius
-        color: palette.window
-    }
 }
 
index 6017eea72f559e3ceeae80dda9d9fd23bbb3253e..46fa73d9d32fac830682f6e7c5a1ff8566c3f25a 100644 (file)
@@ -50,12 +50,6 @@ TextField {
     verticalAlignment: Qt.AlignVCenter
     implicitHeight: Math.max(Style.talkReplyTextFieldPreferredHeight, contentHeight)
 
-    background: Rectangle {
-        border.color: palette.dark
-        radius: Style.trayWindowRadius
-        color: palette.window
-    }
-
     onActiveFocusChanged: triggerSuggestionsVisibility()
     onTextChanged: triggerSuggestionsVisibility()
     Keys.onPressed: {