summary refs log tree commit diff
path: root/resources/qml
diff options
context:
space:
mode:
authorkamathmanu <manuriddle@gmail.com>2021-08-01 19:14:54 -0400
committerkamathmanu <manuriddle@gmail.com>2021-08-07 17:00:28 -0400
commitf5ee1e84b5e813bb7a98e4c92cf6648da2eb6fac (patch)
tree59f9f6cb2663254307e5d34844d3f11d089c0335 /resources/qml
parentLinted code (diff)
downloadnheko-f5ee1e84b5e813bb7a98e4c92cf6648da2eb6fac.tar.xz
Padding for search bar
Diffstat (limited to 'resources/qml')
-rw-r--r--resources/qml/RoomDirectory.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/RoomDirectory.qml b/resources/qml/RoomDirectory.qml
index e6fc2b84..7298a7cd 100644
--- a/resources/qml/RoomDirectory.qml
+++ b/resources/qml/RoomDirectory.qml
@@ -27,7 +27,7 @@ ApplicationWindow {
         spacing: Nheko.paddingMedium

         width: parent.width      

 

-        implicitHeight: roomTextInput.height

+        implicitHeight: roomSearch.height

 

         MatrixTextField {

             id: roomSearch

@@ -35,7 +35,7 @@ ApplicationWindow {
             Layout.fillWidth: true

 

             font.pixelSize: fontMetrics.font.pixelSize

-            padding: Nheko.paddingSmall

+            padding: Math.ceil(1.5 * Nheko.paddingSmall)

             color: Nheko.colors.text

             placeholderText: qsTr("Search for public rooms")

             onTextChanged: searchTimer.restart()