summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2024-03-05 20:31:48 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2024-03-05 20:32:18 +0100
commitb9ffcffe2d5c00fa6613a9c67fc3df3c1f647ef0 (patch)
treed5d5bdd6f7f5693377f4f8752839ed311da55d91 /resources
parentFix too many characters are emojis now (diff)
downloadnheko-b9ffcffe2d5c00fa6613a9c67fc3df3c1f647ef0.tar.xz
Fix completer size on plasma6
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/Completer.qml2
-rw-r--r--resources/qml/ForwardCompleter.qml2
-rw-r--r--resources/qml/MessageInput.qml3
-rw-r--r--resources/qml/QuickSwitcher.qml3
4 files changed, 4 insertions, 6 deletions
diff --git a/resources/qml/Completer.qml b/resources/qml/Completer.qml
index 89921ca4..965789bc 100644
--- a/resources/qml/Completer.qml
+++ b/resources/qml/Completer.qml
@@ -112,7 +112,7 @@ Control {
             ListView.delayRemove: true
             color: model.index == popup.currentIndex ? palette.highlight : palette.base
             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 {
                 id: mouseArea
diff --git a/resources/qml/ForwardCompleter.qml b/resources/qml/ForwardCompleter.qml
index 8ed6017c..c5c1689a 100644
--- a/resources/qml/ForwardCompleter.qml
+++ b/resources/qml/ForwardCompleter.qml
@@ -38,7 +38,7 @@ Popup {
         roomTextInput.forceActiveFocus();
     }
 
-    Column {
+    contentItem: Column {
         id: forwardColumn
 
         spacing: 5
diff --git a/resources/qml/MessageInput.qml b/resources/qml/MessageInput.qml
index ffe80a2e..4396f1d3 100644
--- a/resources/qml/MessageInput.qml
+++ b/resources/qml/MessageInput.qml
@@ -340,10 +340,9 @@ Rectangle {
                         }
                     }
 
-                    Completer {
+                    contentItem: Completer {
                         id: completer
 
-                        anchors.fill: parent
                         rowMargin: 2
                         rowSpacing: 0
                     }
diff --git a/resources/qml/QuickSwitcher.qml b/resources/qml/QuickSwitcher.qml
index 10b9bf25..7d18a76e 100644
--- a/resources/qml/QuickSwitcher.qml
+++ b/resources/qml/QuickSwitcher.qml
@@ -32,8 +32,7 @@ Popup {
         roomTextInput.forceActiveFocus();
     }
 
-    Column {
-        anchors.fill: parent
+    contentItem: Column {
         spacing: 1
 
         MatrixTextField {