Fix completer size on plasma6

This commit is contained in:
Nicolas Werner 2024-03-05 20:31:48 +01:00
parent a9ec130cbe
commit b9ffcffe2d
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
4 changed files with 4 additions and 6 deletions

View file

@ -112,7 +112,7 @@ Control {
ListView.delayRemove: true ListView.delayRemove: true
color: model.index == popup.currentIndex ? palette.highlight : palette.base color: model.index == popup.currentIndex ? palette.highlight : palette.base
height: (chooser.child?.implicitHeight ?? 0) + 2 * popup.rowMargin height: (chooser.child?.implicitHeight ?? 0) + 2 * popup.rowMargin
implicitWidth: fullWidth ? ListView.view.width : chooser.child.implicitWidth + 4 implicitWidth: popup.fullWidth ? ListView.view.width : chooser.child.implicitWidth + 4
MouseArea { MouseArea {
id: mouseArea id: mouseArea

View file

@ -38,7 +38,7 @@ Popup {
roomTextInput.forceActiveFocus(); roomTextInput.forceActiveFocus();
} }
Column { contentItem: Column {
id: forwardColumn id: forwardColumn
spacing: 5 spacing: 5

View file

@ -340,10 +340,9 @@ Rectangle {
} }
} }
Completer { contentItem: Completer {
id: completer id: completer
anchors.fill: parent
rowMargin: 2 rowMargin: 2
rowSpacing: 0 rowSpacing: 0
} }

View file

@ -32,8 +32,7 @@ Popup {
roomTextInput.forceActiveFocus(); roomTextInput.forceActiveFocus();
} }
Column { contentItem: Column {
anchors.fill: parent
spacing: 1 spacing: 1
MatrixTextField { MatrixTextField {