Skip to content

Commit ab4630f

Browse files
authored
Merge pull request #7508 from nextcloud/backport/7374/stable-3.14
[stable-3.14] Fix QML errors caused by illegal customisation of text field backgrounds on native styles
2 parents 1df1444 + bda27f7 commit ab4630f

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

src/gui/filedetails/NCInputTextField.qml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,5 @@ TextField {
5454
}
5555

5656
verticalAlignment: Qt.AlignVCenter
57-
background: Rectangle {
58-
border.color: palette.dark
59-
radius: Style.trayWindowRadius
60-
color: palette.window
61-
}
6257
}
6358

src/gui/filedetails/ShareView.qml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ ColumnLayout {
142142
ShareeSearchField {
143143
id: shareeSearchField
144144
Layout.fillWidth: true
145+
Layout.topMargin: Style.smallSpacing
145146
Layout.leftMargin: root.horizontalPadding
146147
Layout.rightMargin: root.horizontalPadding
147148

src/gui/filedetails/ShareeSearchField.qml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,6 @@ TextField {
5050
verticalAlignment: Qt.AlignVCenter
5151
implicitHeight: Math.max(Style.talkReplyTextFieldPreferredHeight, contentHeight)
5252

53-
background: Rectangle {
54-
border.color: palette.dark
55-
radius: Style.trayWindowRadius
56-
color: palette.window
57-
}
58-
5953
onActiveFocusChanged: triggerSuggestionsVisibility()
6054
onTextChanged: triggerSuggestionsVisibility()
6155
Keys.onPressed: {

0 commit comments

Comments
 (0)