summary refs log tree commit diff
path: root/resources/qml/Completer.qml
diff options
context:
space:
mode:
authorJedi18 <targetakhil@gmail.com>2021-03-07 00:18:24 +0530
committerJedi18 <targetakhil@gmail.com>2021-03-07 00:18:24 +0530
commit8870455f9dd6463f9b8ef04516d69efef3c6287d (patch)
tree475f1eef9c90c1149e8dd8cf6bdf594be606c949 /resources/qml/Completer.qml
parentchanged bottomToTop to true and renamed textWidth to textHeight (diff)
downloadnheko-8870455f9dd6463f9b8ef04516d69efef3c6287d.tar.xz
change allowed mistakes, fix minor style issues, remove old completer function from inputbar
Diffstat (limited to 'resources/qml/Completer.qml')
-rw-r--r--resources/qml/Completer.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/qml/Completer.qml b/resources/qml/Completer.qml
index 3abf8f38..4a692c55 100644
--- a/resources/qml/Completer.qml
+++ b/resources/qml/Completer.qml
@@ -92,6 +92,7 @@ Popup {
         model: completer
         verticalLayoutDirection: popup.bottomToTop ? ListView.BottomToTop : ListView.TopToBottom
         spacing: rowSpacing
+        pixelAligned: true
 
         delegate: Rectangle {
             color: model.index == popup.currentIndex ? colors.highlight : colors.base
@@ -202,6 +203,7 @@ Popup {
 
                         Label {
                             text: model.roomName
+                            font.pixelSize: popup.avatarHeight * 0.5
                             color: model.index == popup.currentIndex ? colors.highlightedText : colors.text
                         }